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

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

IVersionEdit.CommonAncestorVersion Property

The common ancestor of this version and the reconcile version.

[Visual Basic .NET]
Public ReadOnly Property CommonAncestorVersion As IVersion
public IVersion CommonAncestorVersion {get;}
HRESULT get_CommonAncestorVersion(
  IVersion** ancestorVersion
ancestorVersion [out, retval]

ancestorVersion is a parameter of type IVersion**

Product Availability

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


The CommonAncestorVersion method returns an IVersion of the version that the current edit version is reconciling against. The common ancestor version represents the state of the database at the time the version was created from the target version (i.e. when the two versions were identical). This provides a representation of the version which can be used to compare features or rows after the reconciliation.

The IVersion returned is not available as a workspace for editing.

This property should only be called after a Reconcile or the IVersion object will be nothing.

See Also

IVersionEdit Interface