ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data Namespace / VersionManager Class / GetVersionDefinitions Method

In This Topic
    GetVersionDefinitions Method
    In This Topic
    Gets a list of descriptions of all the available Versions in a given enterprise geodatabase. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public IReadOnlyList<VersionDefinition> GetVersionDefinitions()
    Public Function GetVersionDefinitions() As IReadOnlyList(Of VersionDefinition)

    Return Value

    A IReadOnlyList of all the available Version in a given enterprise geodatabase.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also