This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IVersionInfo2 Interface > IVersionInfo2.ParentName Property (ArcObjects .NET 10.5 SDK) |
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(
BSTR* ParentName
);
[C++]
Parameters ParentName [out, retval] ParentName is a parameter of type BSTR
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.