4.2.3.26 CTBase::Unlock
Syntax
void Unlock ( )Parameters
This method has no parameters.
Description
Frees all session wide locks held by the program. The session wide locks obtained a call to Lock are also released by Abort and Commit.
Notice that this call does not free the locks obtained with CTRecord::LockRecord. CTRecord::UnlockRecord can be used to free just one specific record lock, or CTTable::UnlockTable can be used to release all records from one table, obtained with CTRecord::LockRecord.
Return
None.
See Also
Lock, IsLockActive, GetLockMode, Commit, Abort, CTRecord::UnlockRecord, CTTable::UnlockTable
|
FairCom Corporation www.faircom.com |