ArcObjects Library Reference (GeoDatabase)  

IVersionEdit.CommonAncestorVersion Property

The common ancestor of this version and the reconcile version.

[Visual Basic .NET]
Public ReadOnly Property CommonAncestorVersion As IVersion
[C#]
public IVersion CommonAncestorVersion {get;}
[C++]
HRESULT get_CommonAncestorVersion(
  IVersion** ancestorVersion
);
[C++]

Parameters

ancestorVersion [out, retval]

  ancestorVersion is a parameter of type IVersion

Product Availability

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

Remarks

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