Click or drag to resize

DBF.HeaderLock Method

X#
Lock or unlock the header of a database file.

Namespace:  XSharp.RDD
Assembly:  XSharp.Rdd (in XSharp.Rdd.dll) Version: 2.19
Syntax
 VIRTUAL METHOD HeaderLock(
	lockMode AS DbLockMode
) AS LOGIC
Request Example View Source

Parameters

lockMode
Type: DbLockMode

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..

Implements

HeaderLock(DbLockMode)
See Also