Create Versioned View (Data Management)

Zusammenfassung

Creates a versioned view on a table or feature class.

Vorversion:

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

Verwendung

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

Parameter

BeschriftungErläuterungDatentyp
Input Table or Feature Class

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

Table View
Versioned View Name
(optional)

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

Abgeleitete Ausgabe

BeschriftungErläuterungDatentyp
Output Table or Feature Class

arcpy.management.CreateVersionedView(in_dataset, {in_name})
NameErläuterungDatentyp
in_dataset

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

Table View
in_name
(optional)

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

Abgeleitete Ausgabe

NameErläuterungDatentyp
out_dataset

Codebeispiel

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")

Umgebungen

Sonderfälle

Lizenzinformationen

  • Basic: Nein
  • Standard: Erfordert J
  • Advanced: Erfordert J