SE_state_delete64

Deletes a state

Usage syntax

LONG SE_state_delete64 (SE_CONNECTION connection, SE_STATE_ID state_id);
 

Parameters
connection The connection handle
state_id The 64-bit state ID of the state to be deleted
Description

This function 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