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

Alter 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

Alters the database version's properties of name, description, and access permissions.


Usage tips

Command line syntax
An overview of the Command Line window
AlterVersion_management <in_workspace> <in_version> {name} {description} {access}

Parameter Explanation Data Type
<in_workspace>

The ArcSDE geodatabase where the version to be altered is located.

Workspace
<in_version>

Name of the version to be altered.

String
{name}

The new name of the version.

String
{description}

The new description for the version.

String
{access}

Set/Change the access permissions.

  • PRIVATE — Only the owner may view the version and modify available feature classes. This is the default.
  • PUBLIC — Any user may view the version and modify available feature classes.
  • PROTECTED — Any user may view the version, but only the owner may modify available feature classes.

String
Data types for geoprocessing tool parameters


Command line example

alterversion_management  "Database Connections\Connection to workspace.sde" myVersion # PUBLIC

Scripting syntax
About getting started with writing geoprocessing scripts
AlterVersion_management (in_workspace, in_version, name, description, access)

Parameter Explanation Data Type
in_workspace (Required)

The ArcSDE geodatabase where the version to be altered is located.

Workspace
in_version (Required)

Name of the version to be altered.

String
name (Optional)

The new name of the version.

String
description (Optional)

The new description for the version.

String
access (Optional)

Set/Change the access permissions.

  • PRIVATE — Only the owner may view the version and modify available feature classes. This is the default.
  • PUBLIC — Any user may view the version and modify available feature classes.
  • PROTECTED — Any user may view the version, but only the owner may modify available feature classes.

String

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "h:/workspace.mdb"
gp.toolbox = "management"
gp.alterversion( "Database Connections\Connection to workspace.sde", "myVersion", "newVersion", "#", "PUBLIC")

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