Replica reconcile policy.
Constant | Value | Description |
---|---|---|
esriReplicaDetectConflicts | 1 | Reconcile will detect conflicts. |
esriReplicaResolveConflictsInFavorOfImportedChanges | 2 | Reconcile will favor imported changes (no conflicts). |
esriReplicaResolveConflictsInFavorOfDatabaseChanges | 3 | Reconcile will favor database changes (no conflicts). |
esriReplicaResolveConflictsNone | 4 | Reconcile will use the synchronization policy set at the replica creation time. |
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
The esriReplicaReconcilePolicyType enumeration contains values that represent different types of reconcile policies which can be applied to a replica database at synchronization time. The reconcile policy type set determines how conflicts will be treated if they are detected when synchronizing edits between replica pairs. The reconcile policy type is set at synchronization time.
This policy is used when importing replica data changes to a replica in a disconnected environement using the IGeoDataServer::ImportReplicaDataChanges method. See the GeoDataServer coclass for more information.
The members of this enumeration are represented as follows:
- esriReplicaDetectConflicts = 1 - This is the default replica reconcile policy type. Edit conflicts will be detected during replica synchronization and will have to be resolved manually.
- esriReplicaResolveConflictsInFavorOfImportedChanges = 2 - Edit conflicts detected during replica synchronization will automatically be resolved in favor of the imported changes from the sending replica database. Specifically, edits from the receiving replica will be replaced by edits from the sending replica if conflicts are detected. No conflicts will be reported.
- esriReplicaResolveConflictsInFavourOfDatabaseChanges = 3 - Edit conflicts detected during replica synchronizationwill be resolved in favor of the replica database receiving the edits. Specifically, edits from the receiving replica will be maintained if edit conflicts are detected. No conflicts will be reported.
- esriReplicaResolveConflictsNone= 4 - This enumeration value is not valid when importing replica data changes. This value is only valid when used during replica creation. See the IGPReplicaOptions::ParentReconcilePolicy and IGPReplicaOptions::ChildReconcilePolicy property for more information.