SE_table_get_rowlocks

Returns the row locks on a DBMS table.

Usage syntax

LONG SE_table_get_rowlocks
(SE_CONNECTION connection,
const CHAR *table,
LONG *num_locks,
LONG **row_ID,
CHAR ***user_names);

Parameters
connection The connection handle
table The name of the table
num_locks The number of locks
row_ID The array of row IDs
user_names The array of user names
Description

SE_table_get_rowlocks returns the row locks on a DBMS table as arrays of row IDs, state IDs, and user names. You are responsible for freeing the row_ID and user_names arrays.

Returns

SE_SUCCESS
SE_INVALID_CONNECTION

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_NET_FAILURE

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED