SE_serverinfo_set_autocommit

Sets the AUTHOCOMMIT value in a SE_SERVERINFO object

Usage syntax

LONG SE_serverinfo_set_autocommit (SE_SERVERINFO svrInfo, LONG autocommit);

Parameters
svrInfo The SE_SERVERINFO object
autocommit autocommit value
Description

This function sets the AUTOCOMMIT in a SE_SERVERINFO object.

If AUTOCOMMIT is set to 0, the transaction commits only if the application issues an explicit commit. If it is set to a number greater than 0, the operation commits after the number of updates specified has occurred.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_PARAM_VALUE

SE_INVALID_SERVERINFO_OBJECT

SE_SDE_NOT_STARTED