SE_state_create64

Creates a child state from an existing state.

Usage syntax

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

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

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