Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Distributed Geodatabase toolset > Tools

Export Data Change Message (Data Management) (ArcInfo and ArcEditor only)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Creates an output delta file containing updates from an input replica.

Learn more about data synchronization

Learn more about disconnected data synchronization


Usage tips

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.

  • DO_NOT_SWITCH — Do not switch replica role. This is the default.
  • SWITCH — Switch replica role from sender to a receiver.

Boolean
{include_unacknowledged_changes}

Indicates whether to include data changes that have been previously exported for which no acknowledgement message has been recieved.

  • NO_UNACKNOWLEDGED — Do not include data changes that have previously been sent.
  • UNACKNOWLEDGED — Include all of the data changes that have been previously exported for which no acknowledgement message has been sent. This is the default.

Boolean
{include_new_changes}

Indicates whether to include all data changes created since the last exported data change message.

  • NO_NEW_CHANGES — Do not include data changes created since the last exported data change message.
  • NEW_CHANGES — Include data changes created since the last exported data change message. This is the default.

Boolean
Data types for geoprocessing tool parameters


Command line example

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.

  • DO_NOT_SWITCH — Do not switch replica role. This is the default.
  • SWITCH — Switch replica role from sender to a receiver.

Boolean
include_unacknowledged_changes (Optional)

Indicates whether to include data changes that have been previously exported for which no acknowledgement message has been recieved.

  • NO_UNACKNOWLEDGED — Do not include data changes that have previously been sent.
  • UNACKNOWLEDGED — Include all of the data changes that have been previously exported for which no acknowledgement message has been sent. This is the default.

Boolean
include_new_changes (Optional)

Indicates whether to include all data changes created since the last exported data change message.

  • NO_NEW_CHANGES — Do not include data changes created since the last exported data change message.
  • NEW_CHANGES — Include data changes created since the last exported data change message. This is the default.

Boolean

Data types for geoprocessing tool parameters


Script example

# 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")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.