SE_version_change_state

Changes a version’s state

Usage syntax

LONG SE_version_change_state (SE_CONNECTION connection, const SE_VERSIONINFO version, LONG new_state_id);

Parameters
connection The connection handle
version An SE_VERSIONINFO structure to define the new characteristics of the version
new_state_id The new state ID
Description

SE_version_change_state changes the underlying state of a version.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_STATE_ID

SE_INVALID_VERSIONINFO_OBJECT

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_OUT_OF_SVMEM

SE_STREAM_IN_PROGRESS

SE_TABLE_NOEXIST

SE_VERSION_HAS_MOVED

SE_VERSION_NOEXIST