This document is archived and information here might be outdated. Recommended version. |
Export an acknowledgement message for a replica.
[Visual Basic .NET] Public Function ExportAcknowledgement ( _ ByVal ReplicaName As String, _ ByVal TransportType As esriGDSTransportType _ ) As IGDSData
[C#] public IGDSData ExportAcknowledgement ( string ReplicaName, esriGDSTransportType TransportType );
[C++]
HRESULT ExportAcknowledgement(
BSTR ReplicaName,
esriGDSTransportType TransportType
);
[C++]
Parameters ReplicaName [in]
ReplicaName is a parameter of type BSTR TransportType [in]
TransportType is a parameter of type esriGDSTransportType
The ExportAcknowledgement method is used to export an acknowledgement message 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 should be used in conjunction with IGeoDataServer::ImportAcknowledgement method where the acknowledgement message can be imported by the relative replica.
The ReplicaName is the name of the replica.
The TransportType indicates the desired transport type. Use esriGDSTransportTypeURL to place the output in a file in the virtual output directory. Use esriGDSTransportTypeEmbedded to have the results embedded in the output GDSData object. If no virtual output directory exists, the results will be embedded regardless of the value set for this parameter.
The acknowledgement message is returned as an instance of a GDSData object. Acknowledgement files are always stored in an XMl format. See the GDSData coclass for more information.
The How to synchronize an acknowledgement message in a disconnected environment sample shows an example of how to use this method.