Click or drag to resize

IRdd.UnLock Method

X#
Release locks.

Namespace:  XSharp.RDD
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
METHOD UnLock(
	oRecId AS Object
) AS LOGIC
Request Example View Source

Parameters

oRecId
Type: Object
The row number to unlock. This argument is provided for drivers that support multiple row locks. By convention, a value of zero indicates that all rows should be unlocked.

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