NWTTSSetConnectionThresholds
Sets the number of explicit physical and logical record locks to permit before invoking implicit transactions
#include <nwtts.h>
or
#include <nwcalls.h>
NWCCODE N_API NWTTSSetConnectionThresholds (
NWCONN_HANDLE conn,
nuint8 logicalLockLevel,
nuint8 physicalLockLevel);
uses calwin32
Function NWTTSSetConnectionThresholds
(conn : NWCONN_HANDLE;
logicalLockLevel : nuint8;
physicalLockLevel : nuint8
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
The return values are in effect for all applications, not just ones calling NWTTSSetConnectionThresholds.
The default threshold for logical and physical locks is 0. 0xFF means no implicit transactions for the lock type can be performed.
NWTTSSetConnectionThresholds and NWTTSGetConnectionThresholds are useful for applications changing the implicit application thresholds that later want to restore them.
For example, NWTTSGetConnectionThresholds can obtain the current number of logical and physical locks, and NWTTSSetConnectionThresholds can perform one of the following: