Create Versioned View (Gestion des données)

Synthèse

Creates a versioned view on a table or feature class.

Héritage :

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

Utilisation

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

Paramètres

ÉtiquetteExplicationType de données
Input Table or Feature Class

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

Table View
Versioned View Name
(Facultatif)

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

Sortie obtenue

ÉtiquetteExplicationType de données
Output Table or Feature Class

arcpy.management.CreateVersionedView(in_dataset, {in_name})
NomExplicationType de données
in_dataset

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

Table View
in_name
(Facultatif)

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

Sortie obtenue

NomExplicationType de données
out_dataset

Exemple de code

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

Environnements

Cas particuliers

Informations de licence

  • Basic: Non
  • Standard: Oui
  • Advanced: Oui