SE_state_merge64

Merges two states to form a new state.

Usage syntax

LONG SE_state_merge64 (SE_CONNECTION connection, SE_STATE_ID parent_state_id, SE_STATE_ID changes_state_id, SE_STATEINFO merged_state);
 

Parameters
connection The connection handle
parent_state_id A pointer to the parent state
changes_state_id A pointer to the state with changes
merged_state_id A pointer to the new merged state
Description

This function applies changes to a parent state to create a new merged state. The new state is the child of the parent state with the changes of the second state. Both input states must have the same parent state. When a row has been changed in both  parent and second states, the row  from the changes state is used. The parent and changes states must be open or owned by the current user unless the current user is the ArcSDE DBA.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_FAILURE

SE_INVALID_POINTER

SE_INVALID_STATE_ID

SE_INVALID_STATEINFO_OBJECT

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_NOT_TABLE_OWNER

SE_OUT_OF_SVMEM

SE_PARENT_NOT_CLOSED

SE_STATE_INUSE

SE_STATE_NOEXIST

SE_STATES_ARE_SAME

SE_SDE_NOT_STARTED

SE_TABLE_NOEXIST