ArcGIS Pro 2.8 API Reference Guide
GetHistoricalVersion(String) Method

ArcGIS.Core.Data Namespace > VersionManager Class > GetHistoricalVersion Method : GetHistoricalVersion(String) Method
The name of the HistoricalVersion to return.
Gets a HistoricalVersion object with the specified markerName. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public HistoricalVersion GetHistoricalVersion( 
   string markerName
)
Public Overloads Function GetHistoricalVersion( _
   ByVal markerName As String _
) As HistoricalVersion

Parameters

markerName
The name of the HistoricalVersion to return.

Return Value

The HistoricalVersion that corresponds to markerName.
Exceptions
ExceptionDescription
The markerName cannot be null or an empty string.
The input marker name does not belong to any HistoricalVersion.
A geodatabase-related exception has occurred.
This method or property must be called within the lambda passed to QueuedTask.Run
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

VersionManager Class
VersionManager Members
Overload List