Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Versions toolset > Tools

Unregister as Versioned (Data Management) (ArcInfo and ArcEditor only)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

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

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.

  • KEEP_EDIT — Keep the edits. This is the default.
  • NO_KEEP_EDIT — Do not keep the edits.

Boolean
{NO_COMPRESS_DEFAULT | COMPRESS_DEFAULT}

Determines whether edits will be compressed and unused data will be removed.

  • NO_COMPRESS_DEFAULT — Edits are not compressed. This is the default.
  • COMPRESS_DEFAULT — Edits are compressed.

Boolean
Data types for geoprocessing tool parameters


Command line example

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.

  • KEEP_EDIT — Keep the edits. This is the default.
  • NO_KEEP_EDIT — Do not keep the edits.

Boolean
compress_default (Optional)

Determines whether edits will be compressed and unused data will be removed.

  • NO_COMPRESS_DEFAULT — Edits are not compressed. This is the default.
  • COMPRESS_DEFAULT — Edits are compressed.

Boolean

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "Database Connections\Connection to workspace.sde"
gp.toolbox = "management"
gp.unregisterasversioned("v1_vegetation")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.