ArcGIS Pro 2.7 API Reference Guide
Connect Method (HistoricalVersion)

ArcGIS.Core.Data Namespace > HistoricalVersion Class : Connect Method
Connects to this historical version in the geodatabase. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Geodatabase Connect()
Public Function Connect() As Geodatabase

Return Value

This historical version's Geodatabase.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Remarks
The geodatabase returned by this routine returns false from IsVersioningSupported. You cannot repeatedly navigate through historical versions and loop back to yourself.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

HistoricalVersion Class
HistoricalVersion Members