Create Versioned View (数据管理)

摘要

Creates a versioned view on a table or feature class.

旧版本:

This is a deprecated tool. This functionality is no longer needed because versioned views are automatically created when data is registered as versioned.

使用情况

  • The table or feature class must be registered as versioned.

参数

标注说明数据类型
Input Table or Feature Class

Input table or feature class for which a versioned view will be created.

Table View
Versioned View Name
(可选)

Name for the versioned view that is created. If nothing is specified the output versioned view name is the name of the table or feature class with _evw appended to the end.

String

派生输出

标注说明数据类型
Output Table or Feature Class

arcpy.management.CreateVersionedView(in_dataset, {in_name})
名称说明数据类型
in_dataset

Input table or feature class for which a versioned view will be created.

Table View
in_name
(可选)

Name for the versioned view that is created. If nothing is specified the output versioned view name is the name of the table or feature class with _evw appended to the end.

String

派生输出

名称说明数据类型
out_dataset

代码示例

The following Python window script demonstrates how to use the Create Versioned View tool.

arcpy.CreateVersionedView_management("Database Connections\\admin.sde\\bender.GDB.cities", "cities_MV_view")

环境

特殊情况

许可信息

  • Basic: 否
  • Standard: 是
  • Advanced: 是