Delete Version

Titleā€ƒ Delete Version

Summary

Geoprocessing tool to delete a specific version from a geodatabase


Usage


Syntax

Parameter Explanation
version_name

Specify the name of the version to be deleted.

Code Samples

DeleteVersion example (stand-alone script)

The following stand-alone script demonstrates how use the DeleteVersion tool to delete a version.


# Name: DeleteVersion_Example.py
# Description: Deletes a version

# Import system modules
import arcpy

# Set local variables
inWorkspace = "c:/Connections/[email protected]"
versionName = "myVersion2"

# Execute DeleteVersion
arcpy.DeleteVersion_management(inWorkspace, versionName)
                    

Tags

Credits

Use limitations