The lock timer is automatically renewed whenever the initiator of the lock issues a request for the locked element or while Nodesof the locked element are subscribed to. RenewLockis used to reset the lock timer to the value of the MaxInactiveLockTime Propertyand prevent the Serverfrom automatically removing the lock. This Methodmay only be called from the same Applicationwhich initiated the lock.

The signature of this Method is specified below. Table 66and Table 67specify the arguments and AddressSpacerepresentation, respectively.

Signature

RenewLock(

[out] 0:Int32 RenewLockStatus);

Table 66– RenewLock Method Arguments

Argument

Description

RenewLockStatus

0 – OK

-1 – E_NotLocked – the Object is not locked

Table 67– RenewLock Method AddressSpace definition

Attribute

Value

BrowseName

RenewLock

References

NodeClass

BrowseName

DataType

TypeDefinition

Other

0:HasProperty

Variable

OutputArguments

0:Argument[]

0:PropertyType

M

Conformance Units

DI Locking