ArcGIS Pro 2.8 API Reference Guide
Alter Method

ArcGIS.Core.Data Namespace > Version Class : Alter Method
The VersionDescription that specifies what information needs to be altered in this version.
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 10, Windows 8.1

See Also

Reference

Version Class
Version Members