SE_state_trim_tree64

Trims the instance's state tree between two specified states.

Usage syntax

LONG SE_state_trim_tree64 (SE_CONNECTION connection, SE_STATE_ID low_state_id, SE_STATE_ID high_state_id);
 

Parameters
connection The connection handle
low_state A pointer to the low or older state
high_state A pointer to the high or newer state
Description

This function compresses changes between two states so that all changes in the range belong to the more recent state. Both low and high states must be in a consistent state. Only the owner or the ArcSDE DBA may trim states.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_FAILURE

SE_INVALID_POINTER

SE_INVALID_STATE_ID

SE_NET_FAILURE

SE_OUT_OF_SVMEM

SE_NO_PERMISSIONS

SE_NOT_TABLE_OWNER

SE_NET_FAILURE

SE_SDE_NOT_STARTED

SE_STATE_INUSE

SE_STATE_TREE_INUSE

SE_STATES_ARE_SAME

SE_STATE_NOEXIST

SE_TABLE_NOEXIST

SE_TOO_MANY_STATES