Alter Version (Data Management)

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


Usage tips

Syntax

AlterVersion_management (in_workspace, in_version, name, description, access)
Parameter Explanation Datatype
Input Workspace (Required)

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

Workspace
Input Version (Required)

Name of the version to be altered.

String
Version Name (Optional)

The new name of the version.

String
Version Description (Optional)

The new description for the version.

String
Access Permission (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")

See Also

  • Create Version (Data Management)
  • Delete Version (Data Management)
  • Reconcile Version (Data Management)
  • Register as Versioned (Data Management)
  • Unregister as Versioned (Data Management)