SE_state_create

Creates a child state from an existing state.

Usage syntax

LONG SE_state_create (SE_CONNECTION connection, const SE_STATEINFO state, LONG parent_state_id, SE_STATEINFO result_state);

Parameters
connection The connection handle
state A pointer to the state to create
parent_state_id The state ID of the parent
result_state A pointer to the actual resulting state
Description

SE_state_create creates a child state from an existing state. The parent state must be closed and owned by the current user or public, or the current user is the ArcSDE DBA.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_FAILURE

SE_INVALID_STATE_ID

SE_INVALID_STATEINFO_OBJECT

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_NOT_TABLE_OWNER

SE_OUT_OF_SVMEM

SE_PARENT_NOT_CLOSED

SE_SDE_NOT_STARTED

SE_STATE_NOEXIST

SE_TABLE_NOEXIST