The lock timer is automatically renewed whenever the initiator of the lock issues a request for the locked element or while Nodes of the locked element are subscribed to. RenewLock is used to reset the lock timer to the value of the MaxInactiveLockTime Property and prevent the Server from automatically removing the lock. This Method can only be called from the same Application which initiated the lock.
The signature of this Method is specified below. Table 72 and Table 73 specify the arguments and AddressSpace representation, respectively.
Signature
RenewLock(
[out] 0:Int32 RenewLockStatus);
Table 72 – RenewLock Method Arguments
|
Argument |
Description |
|
RenewLockStatus |
0 – OK -1 – E_NotLocked – the Object is not locked |
Table 73 – RenewLock Method AddressSpace definition
|
Attribute |
Value |
|||||
|
BrowseName |
1:RenewLock |
|||||
|
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Other |
|
|
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
M |
|
|
Conformance Units |
||||||
|
DI Locking |
||||||