Export To Delta (数据管理)
摘要
Exports changes in a check-out replica geodatabase to a delta file. A delta file contains only the changes exported from a replicated geodatabase.
用法
-
Instead of synchronizing edits directly from the child replica geodatabase, you can export the changes only from the child replica to a delta file. Delta files are smaller than the original replica geodatabase.
-
The changes in the delta file may be synchronized with the parent replica using the Check In From Delta tool.
-
When synchronizing from a delta XML file, as with synchronizing directly, the replica in the parent geodatabase will be unregistered.
-
Synchronizing changes from a delta file does not automatically unregister the check-out replica in the associated child replica geodatabase; this must be done manually.
This is a deprecated tool. Note that this tool is designed for check-out replicas only and should only be used to support applications from earlier releases. It is recommended that you use the Export Data Change Message tool in the Distributed Geodatabase toolset in place of this tool.
语法
参数 | 说明 | 数据类型 |
in_workspace |
Specifies the child replica geodatabase from which to export the delta file. | Workspace |
dest_delta_database |
The output delta file. | File |
代码实例
import arcpy
from arcpy import env
env.workspace = "C:/Data"
arcpy.ExporttoDelta_management("housing.mdb", "MyCheckoutChanges.mdb")