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

Delete Version (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

Deletes the specified version from the input workspace.


Usage tips

Command line syntax
An overview of the Command Line window
DeleteVersion_management <in_workspace> <version_name>

Parameter Explanation Data Type
<in_workspace>

The ArcSDE geodatabase containing the version to be deleted. The default is to use the workspace defined in the environment.

Workspace
<version_name>

The version to be deleted.

String
Data types for geoprocessing tool parameters


Command line example

deleteversion_management  "Database Connections\Connection to workspace.sde" v1_roads

Scripting syntax
About getting started with writing geoprocessing scripts
DeleteVersion_management (in_workspace, version_name)

Parameter Explanation Data Type
in_workspace (Required)

The ArcSDE geodatabase containing the version to be deleted. The default is to use the workspace defined in the environment.

Workspace
version_name (Required)

The version to be deleted.

String

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "h:/workspace"
gp.toolbox = "management"
gp.deleteversion( "Database Connections\Connection to workspace.sde",  "v1_roads")

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