Version (arcpy.da)

摘要

版本对象包含一些用于描述版本的属性。

讨论

无法直接创建版本对象。 可通过 arcpy.da.ListVersions 函数访问版本属性。

属性

属性说明数据类型
access
(只读)

The version's access permission.

  • PrivateThe version's access permission is private.
  • PublicThe version's access permission is public.
  • ProtectedThe version's access permission is protected.
String
ancestors
(只读)

The version's ancestors. A list of all the versions that are in the ancestral lineage for the current version. For example, the parent version, the grandparent version, and so on, all the way back to the default version.

Version
children
(只读)

The version's children. A list of all the versions that were created directly from the current version. It does not, for example, list the grandchildren of the version.

Version
created
(只读)

The date and time the version was created.

DateTime
description
(只读)

The version's description.

String
isOwner
(只读)

True if the current connected user is the owner of this version.

Boolean
lastModified
(只读)

The last modification of the version.

DateTime
name
(只读)

The name of the version.

String
parentVersionName
(只读)

Name of the parent version.

String

相关主题

5/10/2014