ArcFM Engine Developer Guide
ReconcileVersion Method


IWorkspace
String
String
Boolean
Reconciles the version SourceVer with the ancestor TargetVer. If UseConflictsWindow is true, show the conflicts window with any conflicts that were found.
Syntax
'Declaration
 
Function ReconcileVersion( _
   ByVal Workspace As ESRI.ArcGIS.Geodatabase.IWorkspace, _
   ByVal SourceVer As String, _
   ByVal TargetVer As String, _
   ByVal UseConflictsWindow As Boolean _
) As Integer
'Usage
 
Dim instance As IMMVersioningUtils
Dim Workspace As ESRI.ArcGIS.Geodatabase.IWorkspace
Dim SourceVer As String
Dim TargetVer As String
Dim UseConflictsWindow As Boolean
Dim value As Integer
 
value = instance.ReconcileVersion(Workspace, SourceVer, TargetVer, UseConflictsWindow)
int ReconcileVersion( 
   ESRI.ArcGIS.Geodatabase.IWorkspace Workspace,
   string SourceVer,
   string TargetVer,
   bool UseConflictsWindow
)

Parameters

Workspace
IWorkspace
SourceVer
String
TargetVer
String
UseConflictsWindow
Boolean

Return Value

Long
Remarks

This method returns a long integer that indicates whether conflicts were found and what those conflicts are. The following table shows the possible values that may be returned and how they are interpreted.

Value

Description

0

No conflicts

1

Generic Error Code - not supported error code

11

Incorrect parameters passed in for the source dataset

12

Incorrect parameters passed in for the target dataset

13

The versions being compared are not in the same 'family tree' (not an ancestor version being compared)

14

The user is not in edit mode

15

The current version is not the selected source version

16

The developer has chosent to not display the conflict window, and there are conflicts

 

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMVersioningUtils Interface
IMMVersioningUtils Members

 

 


Send Comment