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


IVersionedWorkspace4.DescendantVersions Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IVersionedWorkspace4.DescendantVersions Property

A list of descendant versions of a version that can be sorted to optimize reconcile and post.

[Visual Basic .NET]
Public Function get_DescendantVersions ( _
    ByVal Version As String, _
    ByVal orderForReconcileAndPost As Boolean _
) As IEnumVersionInfo
[C#]
public IEnumVersionInfo get_DescendantVersions (
    string Version,
    bool orderForReconcileAndPost
);
[C++]
HRESULT get_DescendantVersions(
  BSTR Version,
  VARIANT_BOOL orderForReconcileAndPost,
  IEnumVersionInfo** infoEnum
);
[C++]

Parameters Version [in]
Version is a parameter of type BSTR orderForReconcileAndPost [in]
orderForReconcileAndPost is a parameter of type bool infoEnum [out, retval]
infoEnum is a parameter of type IEnumVersionInfo**

Product Availability

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

Remarks

Returns an enumeration of the version's descendants (children, grand-children, great-grand-children, etc.) The descendants can be used to build a version tree. 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

IVersionedWorkspace4 Interface