SE_state_delete |
Deletes a state
LONG SE_state_delete (SE_CONNECTION connection, LONG state_id);
connection | The connection handle |
state_id | The state ID |
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 instances adds and deletes tables for the state will be deleted.
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