7.7 RenewLock Method

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
BrowseName1:RenewLock
References NodeClass BrowseName DataType TypeDefinition Other
0:HasPropertyVariable0:OutputArguments0:Argument[] 0:PropertyTypeM
Conformance Units
DI Locking