This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IVersion Interface > IVersion.VersionName Property (ArcObjects .NET 10.4 SDK) |
The name of the version.
[Visual Basic .NET] Public Property VersionName As String
[C#] public string VersionName {get; set;}
[C++]
HRESULT get_VersionName(
BSTR* Name
);
[C++]
HRESULT put_VersionName(
BSTR Name
);
[C++]
Parameters Name [out, retval] Name is a parameter of type BSTR Name [in] Name is a parameter of type BSTR
FDO_E_SE_NO_PERMISSIONS: Insufficient permissions.
FDO_E_SE_INVALID_PARAM_VALUE: Invalid parameter value passed to function.
FDO_E_SE_VERSION_EXISTS: Version already exists.
The VersionName method is used to retrieve or set a version's name. Version names are case sensitive and limited to 64 characters. Only the owner of a version can change its properties, such as the name.
The DEFAULT version cannot be renamed.