ArcGIS Pro 2.6 API Reference Guide
GetHistoricalVersion(DateTime) Method

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

Parameters

moment
The time stamp of the HistoricalVersion to return.

Return Value

The HistoricalVersion that corresponds to moment.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
The moment passed into this routine has different meanings, depending on the type of versioning in use:
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

VersionManager Class
VersionManager Members
Overload List