IRdd.Lock Method | |
Perform a lock.
Namespace:
XSharp.RDD
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax METHOD Lock(
uiMode REF DbLockInfo
) AS LOGIC
bool Lock(
ref DbLockInfo uiMode
)
Request Example
View SourceParameters
- uiMode
- Type: DbLockInfo
An object specifying the kind of lock to acquire.
Return Value
Type:
Logic
TRUE when the operation succeeded or FALSE when the operation failed.
Some RDD operations do not really return FALSE but throw an exception to indicate failure.
These exceptions are caught in the higher level code and registered in
the LastRddError property in the runtime state..
See Also