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

GetDefaultVersion Method
Gets the default Version.
Syntax
public Version GetDefaultVersion()

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