SE_state_delete

Deletes a state

Usage syntax

LONG SE_state_delete (SE_CONNECTION connection, LONG state_id);

Parameters
connection The connection handle
state_id The state ID
Description

SE_state_delete deletes a state. The state must be a leaf node and can't be a parent to another state. The current user must be the owner of the state or the ArcSDE DBA. All entries in the instance’s adds and deletes tables for the state will be deleted.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_STATE_ID

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_STATE_INUSE

SE_STATE_NOEXIST

SE_SDE_NOT_STARTED

SE_TABLE_NOEXIST