ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data Namespace / HistoricalVersion Class / Delete Method

In This Topic
    Delete Method (HistoricalVersion)
    In This Topic
    Deletes this historical version. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public override void Delete()
    Public Overrides NotOverridable Sub Delete() 
    Exceptions
    ExceptionDescription
    This historical version is a transient one specified with a timestamp and therefore cannot be deleted.
    The underlying data store is a Feature Service Database, which does not support deleting historical versions.
    A geodatabase-related exception has occurred.
    Remarks
    This routine cannot be used to delete a historical moment (i.e., an HistoricalVersion with an empty name).
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also