Skip to main content

Version

Résumé

The Version object contains properties that describe a version.

Discussion

Version objects cannot be created directly. Version properties can be accessed through the arcpy.da.ListVersions function.

Propriétés

Nom Explication Type de données

access

(Lecture seule)

Specifies the version's access permission.

  • Private—The version's access permission is private.

  • Public—The version's access permission is public.

  • Protected—The version's access permission is protected.

String

ancestors

(Lecture seule)

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

(Lecture seule)

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

(Lecture seule)

The date and time the version was created.

DateTime

description

(Lecture seule)

The description of the version.

String

isOwner

(Lecture seule)

Specifies whether the current connected user is the owner of this version.

Boolean

lastModified

(Lecture seule)

The date the version was last modified.

DateTime

name

(Lecture seule)

The name of the version.

String

parentVersionName

(Lecture seule)

The name of the parent version.

String