Geoprocessing tool to delete a specific version from a geodatabase
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.
Parameter | Explanation |
---|---|
version_name |
Specify the name of the version to be deleted. |
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)
There are no tags for this item.
There are no credits for this item.
There are no use limitations for this item.