Check In From Delta (数据管理)
摘要
Imports changes from a delta file into the parent replica. A delta file contains only the changes exported from a child replica 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 child replica geodatabase.
-
When the synchronize from a delta file succeeds, the check-out replica in the parent geodatabase is unregistered.
-
Synchronizing changes from a delta file does not automatically unregister the replica in the 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 Import Message tool in the Distributed Geodatabase toolset in place of this tool.
语法
参数 | 说明 | 数据类型 |
in_delta_database |
The delta file that contains the changes to be synchronized. | File |
dest_workspace |
The parent replica geodatabase. The ArcSDE workspace to which changes will be applied. | Workspace |
reconcile (可选) |
Indicates whether the synchronize process should reconcile the synchronization version after the edits have been synchronized.
| Boolean |
代码实例
import arcpy
from arcpy import env
env.workspace = "C:/Data"
arcpy.CheckinDelta_management("MyCheckChanges.gdb", "MySDEdata.sde", NO_RECONCILE)