Register As Versioned (Data Management)
Registers ArcSDE dataset as versioned.
Versioning tools only work with datasets in an ArcSDE geodatabase. File and Personal geodatabases don't support versioning.
Registering a feature dataset as versioned registers all feature classes within the feature dataset as versioned.
Versions are not affected by changes occurring in other versions of the geodatabase.
Name of the dataset to be registered as versioned.
|Table View; Feature Dataset|
Determines whether edits to the default version will be moved to the base tables.
The following stand-alone script demonstrates how to use the RegisterAsVersioned tool to register a dataset as versioned.
# Name: RegisterAsVersioned_Example.py # Description: Registers dataset as versioned # Author: ESRI # Import system modules import arcpy # Set local variables datasetName = "Database Connectionsfirstname.lastname@example.org/ninefour.GDB.ctgFuseFeature" # Execute RegisterAsVersioned arcpy.RegisterAsVersioned_management( datasetName, "NO_EDITS_TO_BASE")