Import the data changes for a replica.
ImportReplicaDataChanges(esriGDSReplicaImportSource SourceType, esriReplicaReconcilePolicyType ReconcilePolicy, boolean ColumnLevel, GDSData Data)
Parameter |
Description |
SourceType
|
Defines the file format used to store the imported changes. |
ReconcilePolicy
|
Defines how conflicts will be resolved when the changes are imported. |
ColumnLevel
|
Defines whether or not to use column level
conflict detection. If true, conflicts occur only when specific column
values differ. If false, any change to any values in each row can cause
a conflict. |
Data |
References a GDSData object which is the source of the data changes
|
Return Value
A boolean.
The method returns true if conflicts were detected.
It returns false if no conflicts were detected.
Remarks
The ImportReplicaDataChanges method is used to import replica data change messages. Use this method when synchronizing replicas in a disconnected environment. This method should be used in conjunction with the ExportReplicaDataChanges method to complete the transfer to data from one replica to it's relative. Note that this method can only be executed for replicas that are data receivers.
The ReconcilePolicy parameter uses the esriReplicaReconilePolicyType
enumeration to define how conflicts will be resolved when the changes
are imported. When importing to a replica, changes are first applied to
a synchronization version. For 2 way and 1 way replicas, this version
is always reconciled and posted with the replica version. For
check-out replicas, you can also choose whether or not to reconcile and
post.
Examples