Skip to main content

Version

Summary

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.

Properties

Name Explanation Data type

access

(Read only)

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

(Read only)

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

(Read only)

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

(Read only)

The date and time the version was created.

DateTime

description

(Read only)

The description of the version.

String

isOwner

(Read only)

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

Boolean

lastModified

(Read only)

The date the version was last modified.

DateTime

name

(Read only)

The name of the version.

String

parentVersionName

(Read only)

The name of the parent version.

String