SE_state_lock

Locks a state.

Usage syntax

LONG SE_state_lock (SE_CONNECTION connection, LONG state_id);

Parameters
connection The connection handle
new_state_id The new state ID
Description

SE_state_lock locks a state. Only the owner or ArcSDE DBA can lock a state.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_STATE_ID

SE_LOCK_CONFLICT

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_OUT_OF_LOCKS

SE_STATE_NOEXIST

SE_TABLE_NOEXIST