ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data Namespace / Version Class / Alter Method
The VersionDescription that specifies what information needs to be altered in this version.

In This Topic
    Alter Method
    In This Topic
    Changes this version's name, description and access permissions. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    versionDescription
    The VersionDescription that specifies what information needs to be altered in this version.
    Exceptions
    ExceptionDescription
    versionDescription is null.
    The VersionDescription.Name value in versionDescription is null or an empty string.
    The VersionDescription.AccessType value in versionDescription is invalid.
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also