SE_version_delete

Deletes a version.

Usage syntax

LONG SE_version_delete (SE_CONNECTION connection, const CHAR *name);

Parameters
connection The connection handle
name The version name
Description

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.

Returns

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

Notes

•  If the caller of this function is neither the owner of the version nor the ArcSDE administrator, an error is returned.