Register as Versioned (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Registers ArcSDE data as versioned in ArcCatalog.
Before editing feature datasets, feature classes, and tables in an ArcSDE geodatabase, you must register the data as versioned in ArcCatalog.
Usage tips
File and personal geodatabases don't support versioning. Versioning tools only work with ArcSDE data.
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 database.
A version's permission can only be changed by its owner.
Making a feature class or table multiversioned requires a unique integer field. This is typically the OBJECTID field.
Versions cannot be created or edited in ArcView.
Learn more about registering and unregistering data as versioned
The following environment settings affect this tool: workspace, scratch workspace, and output CONFIG keyword.
Command line syntax
An overview of the Command Line window
RegisterAsVersioned_management <in_dataset> {NO_EDITS_TO_BASE | EDITS_TO_BASE}
Parameter | Explanation | Data Type |
<in_dataset> |
Name of the dataset to be registered as versioned. |
Table View | Feature Dataset |
{NO_EDITS_TO_BASE | EDITS_TO_BASE} |
Determines whether edits will be moved to the base tables (original tables).
|
Boolean |
registerasversioned_management housing
Scripting syntax
About getting started with writing geoprocessing scripts
RegisterAsVersioned_management (in_dataset, edit_to_base)
Parameter | Explanation | Data Type |
in_dataset (Required) |
Name of the dataset to be registered as versioned. |
Table View | Feature Dataset |
edit_to_base (Optional) |
Determines whether edits will be moved to the base tables (original tables).
|
Boolean |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = " "Database Connections\Connection to workspace.sde"" gp.toolbox = "management" gp.registerasversioned("vegetation")