SE_state_get_info

Retrieves information about a state by ID, including lineage information

Usage syntax

LONG SE_state_get_info (SE_CONNECTION connection, LONG state_id, SE_STATEINFO state);

Parameters
connection The connection handle
state_id The state ID
state Pointer to a location to receive the SE_STATEINFO definition
Description

SE_state_get_info obtains the definition of a specific state as identified by its ID. Use SE_BASE_STATE_ID in the state_id parameter to retrieve the root of the state tree. Information about the state is maintained in an SE_STATEINFO structure. The SE_STATEINFO object must be a valid object created by SE_stateinfo_create.

SE_state_get_info differs from SE_state_get_base_info in that SE_state_get_info obtains the state’s lineage.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_STATE_ID

SE_INVALID_STATEINFO_OBJECT

SE_NET_FAILURE

SE_SDE_NOT_STARTED

SE_STATE_NOEXIST

SE_TABLE_NOEXIST