CTBase.IsLockActive
Syntax
bool IsLockActive ( )
Parameters
This method has no parameters.
Description
Indicates whether a session wide lock is active. A session wide lock is a lock that has been started with a call to Lock(), with one of the READ, WRITE, and RESTORE mode variations, but not terminated with a call to Unlock() or Lock() with the mode parameter as FREE or SUSPEND.
IsLockActive() does not indicate if record lock is active. Record lock is one that is obtained with a call to CTRecord.LockRecord().
Return
IsLockActive() returns true if the session wide lock is active and false otherwise.
See Also
Lock(), Unlock(), GetLockMode(), IsTransActive(), Locking