This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IG > IGeoDataServer Interface > IGeoDataServer.ReExportReplicaDataChanges Method (ArcObjects .NET 10.4 SDK) |
Re-exports data changes for a replica.
[Visual Basic .NET] Public Function ReExportReplicaDataChanges ( _ ByVal ReplicaName As String, _ ByVal options As IGDSExportOptions, _ ByVal TransportType As esriGDSTransportType, _ ByVal gensToExport As esriReExportGenerationsOption _ ) As IGDSData
[C#] public IGDSData ReExportReplicaDataChanges ( string ReplicaName, IGDSExportOptions options, esriGDSTransportType TransportType, esriReExportGenerationsOption gensToExport );
[C++]
HRESULT ReExportReplicaDataChanges(
BSTR ReplicaName,
IGDSExportOptions* options,
esriGDSTransportType TransportType,
esriReExportGenerationsOption gensToExport,
IGDSData** result
);
[C++]
Parameters ReplicaName [in] ReplicaName is a parameter of type BSTR options [in]
options is a parameter of type IGDSExportOptions TransportType [in]
TransportType is a parameter of type esriGDSTransportType gensToExport [in]
gensToExport is a parameter of type esriReExportGenerationsOption result [out, retval]
result is a parameter of type IGDSData
The ReexportReplicaDataChanges method is used to re-export previously sent data changes from a replica. Use this method when synchronizing replicas in a disconnected environment. To synchronize replicas in a connected environment, see IReplicationAgent::SynchronizeReplica.
This method is very similar to the ExportReplicaDataChanges method, except it only allows you to re-export changes that have been previously sent. The paraemters are the same as the ExportReplicaDataChanges method with the gensToExport parameter.
The gensToExport parameter uses the esriReExportGenerationsOption enumeration to specify what data changes to export. You may choose to export all unacknowledged data changes or only the last unacknowledged changes. See the esriReExportGenerationsOptions enumeration for more information.