IPWorks 2020 JavaScript Edition

Questions / Feedback?

LockType Property

The type of the current resource lock.

Syntax


 getLockType(): string;

 setLockType(lockType: string): void;

Default Value

"write"

Remarks

Before a call to the LockResource method, LockType may be set to the type of lock being requested. Currently, the class only supports requesting locks of type "write", although the protocol defines an optional "read" lock. After a successful LockResource operation, the class will set the LockType 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]