Alter Version (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Alters the database version's properties of name, description, and access permissions.
Usage tips
Neither personal nor file geodatabases don't support versioning. Versioning tools only work with ArcSDE data.
Versions are not affected by changes occurring in other versions of the database.
A version's permission can only be changed by its owner.
Use the Refresh command to update the properties of each version with its current values.
An automatic refresh happens when you execute AlterVersion that updates the properties of the version with the new values.
Versions cannot be created or edited in ArcView.
The environment settings do not affect this tool.
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.
|
String |
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.
|
String |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = "h:/workspace.mdb" gp.toolbox = "management" gp.alterversion( "Database Connections\Connection to workspace.sde", "myVersion", "newVersion", "#", "PUBLIC")