Create Versioned View (Data Management)
Summary
Creates a versioned view on a table or feature class.
Usage
-
The table or feature class must be registered as versioned.
Syntax
CreateVersionedView_management (in_dataset, {in_name})
Parameter | Explanation | Data Type |
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 _vw appended to the end. | String |
Code Sample
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")
Environments
Related Topics
Licensing Information
ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
11/18/2013