ArcObjects Library Reference (GeoDatabase)  

IVersionEdit3 Interface

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

Product Availability

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

Description

The IVersionEdit3 interface is used to reconcile a version with a target version and optionally not obtain version locks during the process and abort the reconcile process if conflicts are detected. An application would consume this interface when the intention is to abort the reconcile process when any conflicts are detected. An example of such an application would be a type of "batch" program that performed reconcile and post. Since a user cannot resolve conflicts at the end of the process, it simply saves resources and time to abort the process once conflicts are detected.

If the Boolean argument to abort conflicts is set to true and conflicts are detected, the application should immediately stop the edit session and not save the changes.

 

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

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.
Method Reconcile3 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
IVersionEdit2 Provides access to members that return information about versions and posting of versions.
IVersionEdit Provides access to members that return information about versions and posting of versions.

CoClasses that implement IVersionEdit3

CoClasses and Classes Description
VersionedWorkspace VersionedWorkspace Object.