| SE_version_delete |
Deletes a version.
LONG SE_version_delete (SE_CONNECTION connection, const CHAR *name);
| connection | The connection handle |
| name | The version name |
SE_version_delete deletes a version. The version must be a leaf node and can't be a parent to another version. The current user must be the owner of the version or the ArcSDE DBA.
SE_SUCCESS
SE_DB_IO_ERROR
SE_INVALID_VERSION_ID
SE_NO_PERMISSIONS
SE_NET_FAILURE
SE_TABLE_NOEXIST
SE_SDE_NOT_STARTED
SE_VERSION_NOEXIST
• If the caller of this function is neither the owner of the version nor the ArcSDE administrator, an error is returned.