Reconciles the current version with a target version.
[Visual Basic .NET] Public Function Reconcile ( _ ByVal VersionName As String _ ) As Boolean
[C#] public bool Reconcile ( string VersionName );
[C++]
HRESULT Reconcile(
BSTR VersionName,
VARIANT_BOOL* foundConflicts
);
[C++]Parameters
VersionName [in] VersionName is a parameter of type BSTR foundConflicts [out, retval] foundConflicts is a parameter of type VARIANT_BOOL
Product Availability
Errors Returned
FDO_E_RECONICLE_VERSION_NOT_AVAILABLE: Unable to reconcile: the target version is currently being reconciled against.
FDO_E_VERSION_BEING_EDITED: Operation not allowed while the version is being edited.
FDO_E_VERSION_NOT_FOUND: The version could not be
located.
Remarks
The Reconcile function reconciles the current edit version with the specified target version. The target version must be an ancestor of the current version or an error will be returned. The target version name passed in is case-sensitive and should take the form {owner}.{version_name} for example, SDE.DEFAULT.
If the returned boolean value from Reconcile is TRUE, then conflicts were detected. Otherwise no conflicts were detected.
A reconcile can only be performed if no other users are currently editing the version. As well, the target version cannot concurrently be reconciling by a second application. See IVersion::IVersionLocks for additional information on detecting version locks.
Calling Reconcile will abort the current edit operation therefore any edits made within an open edit operation when reconcile is called will be lost. If there is an open edit operation it is good practice to call StopEditOperation prior to calling Reconcile