SE_table_get_mvedit_states

Get all the states a multiversion table was modified in.

Usage syntax

extern LONG SE_table_get_mvedit_states
(SE_CONNECTION handle,
const CHAR *table,
SE_STATEINFO **state_list,
LONG *count)

Parameters
handle The SDE connection handle
table Multiversion table to fetch edit states for
state_list Pointer to the variable to receive the pointer to the allocated state list
count The number of state entries in state_list
Description

This function returns a list of states in which the multiversion table has been edited. The state list should be freed by a call to SE_state_free_info_list when no longer needed

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_POINTER

SE_NET_FAILURE

SE_OUT_OF_CLMEM

SE_OUT_OF_SVMEM

SE_TABLE_NOT_MULTIVERSION

SE_TABLE_NOEXIST

Notes:

This function joins the SDE MVTABLES_MODIFIED metadata table against the STATES metadata table to produce this list.