ArcGIS Pro 2.6 API Reference Guide
CreateVersion(VersionDescription) Method

ArcGIS.Core.Data Namespace > VersionManager Class > CreateVersion Method : CreateVersion(VersionDescription) Method
The VersionDescription that specifies what the version should look like.
Creates a new Version. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Overloads Function CreateVersion( _
   ByVal versionDescription As VersionDescription _
) As Version

Parameters

versionDescription
The VersionDescription that specifies what the version should look like.
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.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

VersionManager Class
VersionManager Members
Overload List