4.2.3.25 CTBase.SetKeepLock
Syntax
void SetKeepLock(KEEP_LOCK mode)Parameters
Description
SetKeepLock sets the extended keep lock mode applied when an active transaction is commited or aborted, by calling Commit or Abort. The valid keep lock modes is one of the following values:
- FREE_KEEP release all locks. Clear LKISAM state. This is the default mode when a session handle is allocated.
- LOCK_KEEP keep all locks acquired before and during transaction. Does not clear LKISAM state.
- OUT_KEEP release only locks obtained within transaction and/or locks on records updated within transaction. Does not clear LKISAM state.
- OUTALL_KEEP unconditionally keep all locks acquired before the transaction began. Free locks obtained obtained within the transaction. Does not clear LKISAM state.
Return
None
See Also
GetKeepLock
|
FairCom Corporation www.faircom.com |