IPWorks 2020 JavaScript Edition

Questions / Feedback?

LockTimeout Property

The time to live for the current resource lock.

Syntax


 getLockTimeout(): number;

 setLockTimeout(lockTimeout: number): void;

Default Value

0

Remarks

Before a call to the LockResource method, LockTimeout may be set to a specific amount of time needed for the locked operation to take place. The timeout is used to determine how long the lock may exist before the server automatically unlocks the resource URI. If Timeout of 0 is specified, the server will use a default timeout. After a successful LockResource operation, the class will set the LockTimeout property to the correct value returned in the server's response.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 JavaScript Edition - Version 20.0 [Build 8292]