Check Out (データ管理)

ライセンス レベル:BasicStandardAdvanced

サマリ

Creates a check-out replica from datasets in an ArcSDE geodatabase to an ArcSDE, file, or personal geodatabase for offline editing.

使用法

構文

Checkout_management (in_data, {in_type}, out_workspace, out_name, {reuse_schema}, {get_related_data})
パラメータ説明データ タイプ
in_data
[in_data,...]

The data to be replicated for offline editing. This list consists of layers and tables referencing versioned, editable data from an ArcSDE geodatabase.

Feature Layer; Table View
in_type
(オプション)

Specifies if the data and schema will be replicated or if a SCHEMA-ONLY check-out of the database should occur. The default is DATA.

  • DATAThe data and the schema will be replicated. This is the default.
  • SCHEMA_ONLYOnly the schema will be replicated.
String
out_workspace

The workspace where the replicated data will be edited. This can be an ArcSDE, file, or personal geodatabase. If it's a personal geodatabase that doesn't exist, it will be created.

Workspace
out_name

The name that identifies the check-out replica. This is recorded and maintained in both the parent and the child database until synchronized.

String
reuse_schema
(オプション)

Choose REUSE if you are using a database with the schema (no data) as the out_workspace. REUSE will be faster, since a schema will not need to be created during replica creation. The default is NO_REUSE.

  • NO_REUSEDo not reuse the schema. This is the default.
  • REUSEReuse the schema.
Boolean
get_related_data
(オプション)

Specifies whether to replicate related data that has established relationships with the replicated data. For example, consider a feature (f1) inside the replica area and a related feature (f2) from another class outside the replica area. Feature f2 is included in the check-out replica if you choose to get related data.

  • RELATEDReplicate related data. This is the default.
  • NO_RELATEDDo not replicate related data.
Boolean

コードのサンプル

CheckOut Example (Python Window)
import arcpy
from arcpy import env
env.workspace = "C:/Data/MySDEdata.sde"
arcpy.Checkout_management("roads", "DATA", "C:/Data/MyCheckout.gdb", "mycheckout1", "REUSE", "RELATED")

環境

関連トピック

ライセンス情報

ArcGIS for Desktop Basic: ×
ArcGIS for Desktop Standard: ○
ArcGIS for Desktop Advanced: ○
7/28/2014