ArcObjects Library Reference (GeoDatabase)  

IVersionInfo.Ancestors Property

The version's ancestors.

[Visual Basic .NET]
Public ReadOnly Property Ancestors As IEnumVersionInfo
[C#]
public IEnumVersionInfo Ancestors {get;}
[C++]
HRESULT get_Ancestors(
  IEnumVersionInfo** Ancestors
);
[C++]

Parameters

Ancestors [out, retval]

  Ancestors is a parameter of type IEnumVersionInfo

Product Availability

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

Remarks

The Ancestors method is used to retrieve an IEnumVersionInfo enumeration of all the version's that are in the ancestral lineage for the current version. For example, the parent version, the grandparent version, etc. all the way back to the default version. The IEnumVersionInfo enumeration is then used to obtain an IVersionInfo object for each version.

See Also

IVersionInfo Interface