SE_state_delete_range64 |
Deletes a range of states
LONG SE_state_delete_range64 (SE_CONNECTION connection, SE_STATE_ID low_state_id, SE_STATE_ID high_state_id);
connection | The connection handle |
low_state_id | The 64-bit ID of the first state to delete |
high_state_id | The 64-bit ID of the last state to delete |
This function 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