ESRI.ArcGIS.DataManagementTools
SynchronizeChanges Constructor(Object,String,Object,String,String,String,String)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.DataManagementTools Namespace > SynchronizeChanges Class > SynchronizeChanges Constructor : SynchronizeChanges Constructor(Object,String,Object,String,String,String,String)




geodatabase_1
The geodatabase hosting the replica to synchronize. The geodatabase may be local or remote. (In, Required)
in_replica
A valid replica with a parent contained within one input geodatabase and a child in the other input geodatabase. (In, Required)
geodatabase_2
The geodatabase hosting the relative replica. The geodatabase may be local or remote. (In, Required)
in_direction
The direction in which you want changes to be sent: from geodatabase 1 to geodatabase 2, from geodatabase 2 to geodatabase 1, or to send changes in both directions. For check-out/check-in replicas or one-way replicas there is only one appropriate direction. If the replica is two-way then any of the three choices are available. (In, Required)
conflict_policy
Specifies how conflicts are resolved when they are encountered. (In, Required)
conflict_definition
Specifies how you would like to define conflicts: (In, Required)
reconcile
Indicates whether to automatically reconcile once data changes are sent to the parent replica if there are no conflicts present. This option is only available for check-out/check-in replicas. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal geodatabase_1 As Object, _
   ByVal in_replica As String, _
   ByVal geodatabase_2 As Object, _
   ByVal in_direction As String, _
   ByVal conflict_policy As String, _
   ByVal conflict_definition As String, _
   ByVal reconcile As String _
)
Visual Basic (Usage)Copy Code
Dim geodatabase_1 As Object
Dim in_replica As String
Dim geodatabase_2 As Object
Dim in_direction As String
Dim conflict_policy As String
Dim conflict_definition As String
Dim reconcile As String
 
Dim instance As SynchronizeChanges(geodatabase_1, in_replica, geodatabase_2, in_direction, conflict_policy, conflict_definition, reconcile)
C# 
public SynchronizeChanges( 
   object geodatabase_1,
   string in_replica,
   object geodatabase_2,
   string in_direction,
   string conflict_policy,
   string conflict_definition,
   string reconcile
)

Parameters

geodatabase_1
The geodatabase hosting the replica to synchronize. The geodatabase may be local or remote. (In, Required)
in_replica
A valid replica with a parent contained within one input geodatabase and a child in the other input geodatabase. (In, Required)
geodatabase_2
The geodatabase hosting the relative replica. The geodatabase may be local or remote. (In, Required)
in_direction
The direction in which you want changes to be sent: from geodatabase 1 to geodatabase 2, from geodatabase 2 to geodatabase 1, or to send changes in both directions. For check-out/check-in replicas or one-way replicas there is only one appropriate direction. If the replica is two-way then any of the three choices are available. (In, Required)
conflict_policy
Specifies how conflicts are resolved when they are encountered. (In, Required)
conflict_definition
Specifies how you would like to define conflicts: (In, Required)
reconcile
Indicates whether to automatically reconcile once data changes are sent to the parent replica if there are no conflicts present. This option is only available for check-out/check-in replicas. (In, Required)

See Also

© 2010 All Rights Reserved.