ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data Namespace / VersionManager Class / GetDefaultVersion Method

In This Topic
    GetDefaultVersion Method
    In This Topic
    Gets the default Version.
    Syntax
    public Version GetDefaultVersion()
    Public Function GetDefaultVersion() As Version

    Return Value

    The default Version.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also