Export Data Change Message (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Creates an output delta file containing updates from an input replica.
Learn more about data synchronization
Learn more about disconnected data synchronization
Usage tips
This tool is used when synchronizing replicas in disconnected mode. Additionally see the Import Message, Export Acknowledgement Message and Re-Export Unacknowledged Messages tools. To synchronize replicas in a connected mode see the Synchronize Changes tool.
The following environment settings affect this tool: workspace, scratch workspace, and Configuration keyword.
Command line syntax
An overview of the Command Line window
ExportDataChangeMessage_management <in_geodatabase> <out_data_changes_file> <in_replica> {switch_to_receiver} {include_unacknowledged_changes} {include_new_changes}
Parameter | Explanation | Data Type |
<in_geodatabase> |
Specifies the replica geodatabase from which to export the data change message from. The geodatabase may be local or remote. |
Workspace | GeoDataServer|GPComposite |
<out_data_changes_file> |
Specifies the delta file to export to. |
File |
<in_replica> |
The replica containing updates to be exported. |
String |
{switch_to_receiver} |
Indicates whether to change the role of the replica to that of a receiver. The receiver may not send replica updates until updates from the relative replica sender arrive.
|
Boolean |
{include_unacknowledged_changes} |
Indicates whether to include data changes that have been previously exported for which no acknowledgement message has been recieved.
|
Boolean |
{include_new_changes} |
Indicates whether to include all data changes created since the last exported data change message.
|
Boolean |
ExportDataChangeMessage Countries.mdb d:\delta.mdb MyReplica1 TRUE FALSE TRUE
Scripting syntax
About getting started with writing geoprocessing scripts
ExportDataChangeMessage_management (in_geodatabase, out_data_changes_file, in_replica, switch_to_receiver, include_unacknowledged_changes, include_new_changes)
Parameter | Explanation | Data Type |
in_geodatabase (Required) |
Specifies the replica geodatabase from which to export the data change message from. The geodatabase may be local or remote. |
Workspace | GeoDataServer|GPComposite |
out_data_changes_file (Required) |
Specifies the delta file to export to. |
File |
in_replica (Required) |
The replica containing updates to be exported. |
String |
switch_to_receiver (Optional) |
Indicates whether to change the role of the replica to that of a receiver. The receiver may not send replica updates until updates from the relative replica sender arrive.
|
Boolean |
include_unacknowledged_changes (Optional) |
Indicates whether to include data changes that have been previously exported for which no acknowledgement message has been recieved.
|
Boolean |
include_new_changes (Optional) |
Indicates whether to include all data changes created since the last exported data change message.
|
Boolean |
# Create the Geoprocessor object import arcgisscripting, sys, scripting, os gp = arcgisscripting.create() # Set the necessary product code gp.SetProduct("ArcInfo") # Load required toolboxes... gp.AddToolbox("Data Management Tools.tbx") # Process: Export Data Change Message... gp.ExportDataChangeMessage_management("Database Connections\Connection to workspace.sde", "d:\delta.mdb", "MyReplica1", "TRUE", "TRUE", "TRUE")