This document is archived and information here might be outdated.  Recommended version.


IVersion.VersionName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IVersion Interface > IVersion.VersionName Property
ArcGIS Developer Help

IVersion.VersionName Property

The name of the version.

[Visual Basic .NET]
Public Property VersionName As String
[C#]
public string VersionName {get; set;}
[C++]
HRESULT get_VersionName(
  System.String* 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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Errors Returned

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.

Remarks

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.

See Also

IVersion Interface