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


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

IVersionInfo2.ParentName Property

The name of the version's parent.

[Visual Basic .NET]
Public ReadOnly Property ParentName As String
[C#]
public string ParentName {get;}
[C++]
HRESULT get_ParentName(
  System.String* ParentName
);
[C++]
Parameters
ParentName [out, retval]

ParentName is a parameter of type BSTR*

Product Availability

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

Remarks

Returns the name of the version's parent as a string. If it is used on the default version an empty string is returned. The parents version name can be used to build an ancestry for the version. Only versions owned by the user will be returned unless an administrator connection is used in which case all applicable versions will be returned.

See Also

IVersionInfo2 Interface