Unregister as Versioned (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Unregisters an ArcSDE dataset as versioned in ArcCatalog.
When unregistering a dataset or feature class as versioned in ArcCatalog, a warning may appear informing you that outstanding edits still remain in existing versions. Unregistering the class as versioned will remove all the edits. To preserve the edits, you must compress the database before unregistering the dataset.
Usage tips
File and personal geodatabases don't support versioning. Versioning tools only work with ArcSDE data.
Making a feature class or table multiversioned requires a unique integer field. Only the owner of the data may register or unregister the object 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.
To improve database performance, the database should be compressed periodically. Compressing the database removes all unreferenced database states and redundant rows. Only the SDE administrator can perform this task.
After compressing the database or editing the data, the Analyze tool should be executed to update the database statistics for each dataset or feature class. This will improve display and query performance.
Outstanding edits will be lost with the execution of this tool unless the database is compressed first.
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
UnregisterAsVersioned_management <in_dataset> <keep_edit> {NO_COMPRESS_DEFAULT | COMPRESS_DEFAULT}
Parameter | Explanation | Data Type |
<in_dataset> |
Name of the ArcSDE dataset to be unregistered as versioned. |
Table View | Feature Dataset |
<keep_edit> |
Specifies whether edits made of the version should be maintained.
|
Boolean |
{NO_COMPRESS_DEFAULT | COMPRESS_DEFAULT} |
Determines whether edits will be compressed and unused data will be removed.
|
Boolean |
unregisterasversioned_management "Database Connections\Connection to workspace.sde\v1_vegetation"
Scripting syntax
About getting started with writing geoprocessing scripts
UnregisterAsVersioned_management (in_dataset, keep_edit, compress_default)
Parameter | Explanation | Data Type |
in_dataset (Required) |
Name of the ArcSDE dataset to be unregistered as versioned. |
Table View | Feature Dataset |
keep_edit (Required) |
Specifies whether edits made of the version should be maintained.
|
Boolean |
compress_default (Optional) |
Determines whether edits will be compressed and unused data will be removed.
|
Boolean |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = "Database Connections\Connection to workspace.sde" gp.toolbox = "management" gp.unregisterasversioned("v1_vegetation")