Delete Version (Data Management)

This ArcGIS 2.9 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Summary

Deletes the specified version from the input enterprise, workgroup, or desktop geodatabase.

Usage

  • Only the version's owner can delete the version.

  • A parent version cannot be deleted until all dependent child versions are deleted.

  • Versions are not affected by changes occurring in other versions of the geodatabase.

  • Versioning tools only work with enterprise, workgroup, and desktop geodatabase data. Personal and file geodatabases do not support versioning.

  • This tool supports deleting a branch version through the version service.

Parameters

LabelExplanationData Type
Input Workspace

Specifies the database connection file to the enterprise, workgroup, or desktop geodatabase containing the version to be deleted.

For branch versioning, you can use a feature service URL (that is, https://mysite.mydomain/server/rest/services/ElectricNetwork/FeatureServer) or a feature layer portal item. You can also delete a branch version via a database connection file (connected to a branch versioned workspace) when connected as the geodatabase admin user (sde).

Workspace
Version Name

Specifies the name of the version to be deleted.

For branch versioning, the name of the branch version to delete should be fully qualified. E.g. servicename.portaluser.versionname.

String

Derived Output

LabelExplanationData Type
Updated Geodatabase

The updated input workspace.

Workspace

Environments

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics