Samples

Reconcile SDE versions in batch mode

Description:

Recursively reconciles and optionally posts and deletes all versions in a versioned GeoDatabase.

Allows user to connect to a versioned GeoDatabase, select a version, and the tool will try to reconcile, optionally post, and optionally delete every version under that version.
Products:

ArcEditor: VB6

Platforms: Windows

Requires: Versioned GeoDatabase

Minimum ArcGIS Release: 9.0

How to use:
  1. Run BatchReconcile.exe
  2. Browse and select a Versioned GeoDatabase.
  3. Select a Version to Reconcile/Post everything below.
  4. Optionally select if you want to post.
  5. Optionally select if you want to delete the version after post.
  6. Click Start.

VB6
File Description
.\Visual_Basic\frmBatchReconcile.frm Main form containing all the logic.
.\Visual_Basic\BatchReconcile.exe Batch Reconcile executable.
.\Visual_Basic\>BatchReconcile.vbp Batch Reconcile project.


Key Libraries: Geodatabase
Key CoClasses:VersionedWorkspace
Key Interfaces: IVersionedWorkspace, IWorkspaceEdit, IVersionEdit, IEnumLockInfo, ILockInfo
Key Members:IVersionedWorkspace.FindVersion, IVersion.VersionInfo, IVersionEdit.Reconcile, IVersionEdit.Post, IVersion.VersionLocks


Feedback Send feedback on this sample