ArcGIS Pro 2.7 API Reference Guide
GetVersionManager Method

ArcGIS.Core.Data Namespace > Geodatabase Class : GetVersionManager Method
Gets the VersionManager associated with this geodatabase if it supports versioning. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public VersionManager GetVersionManager()
Public Function GetVersionManager() As VersionManager

Return Value

The VersionManager associated with this geodatabase if it supports versioning.
Exceptions
ExceptionDescription
This geodatabase does not support versioning.
Remarks
If IsVersioningSupported returns false, calling this method will result in an exception.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Geodatabase Class
Geodatabase Members