Check In (数据管理)
摘要
Synchronizes changes from a check-out replica in an ArcSDE, file, or personal geodatabase to the parent ArcSDE geodatabase.
用法
-
You must have permission to edit the data you are synchronizing.
-
Once synchronized, the changes (edits) will be reflected in the parent geodatabase and are viewable by all users.
This is a deprecated tool. 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 Synchronize Changes tool in the Distributed Geodatabase toolset in place of this tool.
语法
参数 | 说明 | 数据类型 |
in_workspace |
The child replica geodatabase. The workspace that contains the child replica. This can be an ArcSDE, file, or personal geodatabase. | Workspace |
dest_workspace |
The parent replica geodatabase. The ArcSDE workspace to which changes will be applied. | Workspace |
reconcile (可选) |
Indicates whether the synchronization process should reconcile the synchronization version after the edits have been synchronized.
| Boolean |
代码实例
import arcpy
from arcpy import env
env.workspace = "C:/Data"
arcpy.gp.Checkin("MyCheckout.mdb", "MySDEdata.sde", "RECONCILE")