Check In (数据管理)

摘要

Synchronizes changes from a check-out replica in an ArcSDE, file, or personal geodatabase to the parent ArcSDE geodatabase.

用法

语法

Checkin_management (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.

  • NON_RECONCILEThere is no reconcile performed. This is the default.
  • RECONCILEThere is a reconciliation performed.
Boolean

代码示例

CheckIn Example (Python Window)
import arcpy
from arcpy import env
env.workspace = "C:/Data"
arcpy.gp.Checkin("MyCheckout.mdb", "MySDEdata.sde", "RECONCILE")

环境

相关主题

许可信息

ArcView: 否
ArcEditor: 是
ArcInfo: 是

7/10/2012