ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data Namespace / HistoricalVersionDescription Class
Members Example

In This Topic
    HistoricalVersionDescription Class
    In This Topic
    Represents a mechanism to create or alter an HistoricalVersion.
    Syntax
    public sealed class HistoricalVersionDescription 
    Public NotInheritable Class HistoricalVersionDescription 
    Example
    Creating a Historical version
    public HistoricalVersion CreateHistoricalVersion(Geodatabase geodatabase, string versionName)
    {
      using (VersionManager versionManager = geodatabase.GetVersionManager())
      {
        HistoricalVersionDescription historicalVersionDescription = new HistoricalVersionDescription(versionName, DateTime.Now);
        HistoricalVersion historicalVersion = versionManager.CreateHistoricalVersion(historicalVersionDescription);
    
        return historicalVersion;
      }
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.Data.HistoricalVersionDescription

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also