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


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

IVersionEdit2 Interface

Provides access to members that return information about versions and posting of versions. Note: the IVersionEdit2 interface has been superseded by IVersionEdit4. Please consider using the more recent version.

Product Availability

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

Description

The IVersionEdit2 interface is used to reconcile a version with a target version and optionally not obtain version locks during the process. Once reconciled, the object provides the ability to work with representations of the version prior to start editing, the pre-reconcile version, the reconcile version, and the common ancestor version for conflict resolution.

Note: If the lock is not obtained, the version can still be posted, but there will be no guarantee that the target version has not been modified and saved since the reconcile completed. In this case, an FDO_E_VERSION_REDEFINED error will be raised informing you that the version has been redefined. This error implies that you will need to re-execute the reconcile. If the intent is to post following a successful reconcile it is recommended that version locks are obtained.

Members

Name Description
Method CanPost Returns a boolean if the version can be posted to the reconcile version.
Read-only property CommonAncestorVersion The common ancestor of this version and the reconcile version.
Read-only property ConflictClasses All objects which contain conflicts between the current and reconciled versions.
Read-only property ModifiedClasses All objects modified by the current and reconciled versions.
Method Post Posts the current version to the reconcilled version.
Read-only property PreReconcileVersion The version prior to reconciliation.
Method Reconcile Reconciles the current version with a target version.
Method Reconcile2 Reconciles the current version with a target version.
Read-only property ReconcileVersion The version that the current version is reconciling against.
Read-only property StartEditingVersion The version prior to any edits.

Inherited Interfaces

Interfaces Description
IVersionEdit Provides access to members that return information about versions and posting of versions.

Classes that implement IVersionEdit2

Classes Description
VersionedWorkspace VersionedWorkspace Object.