Edit

Share via


Database.LockTimeoutDuration([Integer]) Method

Version: Available or changed with runtime version 16.0.

Gets or sets the current lock timeout duration in seconds. Setting a lock timeout of 0 or less disables the lock timeout.

Syntax

[LockTimeoutDuration := ]  Database.LockTimeoutDuration([LockTimeoutDuration: Integer])

Note

This method can be invoked using property access syntax.

Note

This method can be invoked without specifying the data type name.

Parameters

[Optional] LockTimeoutDuration
 Type: Integer
The new setting for the lock timeout duration in seconds.

Return Value

[Optional] LockTimeoutDuration
 Type: Integer
The lock timeout duration in seconds.

See Also

Database data type
Getting started with AL
Developing extensions