ArcObjects Library Reference (GeoDatabase)  

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(
  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

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

.NET Related Topics

Editing with the geodatabase API | GeoDatabaseUI | Reconciling versions |