SE_state_delete_range |
Deletes a range of states
LONG SE_state_delete_range (SE_CONNECTION connection, LONG low_state_id, LONG high_state_id);
connection | The connection handle |
low_state_id | The ID of the first state to delete |
high_state_id | The ID of the last state to delete |
SE_state_delete_range deletes a connected range of states. The high_state_id must be a leaf node and cannot be a parent to another state. The low_state, high_state and all the states in the state tree that connect these two states are deleted. All the states that are to be deleted should not have more than one child state each and should not be associated with a version. The current user must be the owner of the states or the ArcSDE administrator. All entries in the instances adds and deletes tables for all the states will be deleted.
SE_SUCCESS
SE_DB_IO_ERROR
SE_INVALID_STATE_ID
SE_NO_PERMISSIONS
SE_NET_FAILURE
SE_NO_COMMON_LINEAGE
SE_STATE_INUSE
SE_STATE_NOEXIST
SE_SDE_NOT_STARTED
SE_TABLE_NOEXIST