NWTTSGetConnectionThresholds(3nw)


NWTTSGetConnectionThresholds -- returns number of logical and physical record locks allowed before implicit transactions begin

Synopsis

   #include <nwtts.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWTTSGetConnectionThresholds (NWCONN_HANDLE conn, pnuint8 logicalLockLevel, pnuint8 physicalLockLevel);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

logicalLockLevel
(OUT) Points to the number of logical record locks allowed before implicit transactions begin (0 to 255, optional).

physicalLockLevel
(OUT) Points to the number of physical record locks allowed before implicit transactions begin (0 to 255, optional).

Return values

0x0000
Successful

0x8801
INVALID_CONNECTION

Notices

Both NWTTSSetConnectionThresholds and NWGetConnectionThresholds are useful for applications changing the implicit application thresholds that later want to restore them. For example, NWTTSGetConnectionThresholds can get the number of logical and physical locks, and NWTTSSetConnectionThresholds can perform one of the following: The default threshold for logical and physical locks is 0. 0xFF means implicit transactions for the lock type have been completed.

Both physicalLockLevel and logicalLockLevel are optional parameters. Substitute NULL if these parameters are not to be returned. However, all parameter positions must be filled.

Services

Transaction Tracking

NCP calls

0x2222 34 7 TTS Get Workstation Threshold

 
 0x2222   34   7   TTS Get Workstation Threshold 

References

NWTTSSetConnectionThresholds(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.