描述
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.
语法
arcpy.management.Checkin(in_workspace, dest_workspace, {reconcile})
参数 | 说明 | 数据类型 |
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 |
代码示例
CheckIn Example (Python Window)
import arcpy
from arcpy import env
env.workspace = "C:/Data"
arcpy.gp.Checkin("MyCheckout.mdb", "MySDEdata.sde", "RECONCILE")
环境
许可信息
- Basic: 否
- Standard: 是
- Advanced: 是