SE_version_alter

Alters a version’s characteristics

Usage syntax

LONG SE_version_alter (SE_CONNECTION connection, const SE_VERSIONINFO version);

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

SE_version_alter changes those characteristics of a version that can be modified after creation. The version to modify is specified by the version name in the SE_VERSIONINFO structure.

You can change the following characteristics:

If you want to change the name of a version or the state ID, use SE_version_rename or SE_version_change_state. A convenient method to change a particular characteristic of a version is to retrieve the existing version definition into the SE_VERSIONINFO pointer with SE_version_get_info or SE_version_get_info_by_id. Modify the characteristic with one of the SE_versioninfo_set_* functions.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INVALID_ALTER_OPERATION

SE_INVALID_VERSIONINFO_OBJECT

SE_INVALID_VERSION_ID

SE_NO_PERMISSIONS

SE_NET_FAILURE

SE_OUT_OF_SVMEM

SE_STREAM_IN_PROGRESS

SE_TABLE_NOEXIST

SE_VERSION_HAS_CHILDREN

SE_VERSION_NOEXIST