ArcGIS Pro 2.7 API Reference Guide
CreateHistoricalVersion Method

ArcGIS.Core.Data Namespace > VersionManager Class : CreateHistoricalVersion Method
The HistoricalVersionDescription that specifies what the historical version should look like.
Creates a new HistoricalVersion. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

historicalVersionDescription
The HistoricalVersionDescription that specifies what the historical version should look like.
Exceptions
ExceptionDescription
historicalVersionDescription is null.
The HistoricalVersionDescription.Name value in historicalVersionDescription is null or an empty string.
The underlying data store is a Feature Service Database, which does not support creating HistoricalVersions.
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

VersionManager Class
VersionManager Members