company logo

Property :: instanceLocked - Check whether instance is locked

The function checks, whether the instance has been locked by calling lockInstance(). When the instance is locked, the function returns true. Instances are also locked implicitly, when being read in write mode or stored in a transaction.

When no instance is selected or when the property handle is not valid, the function throws an exception.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool Property  :: instanceLocked (  )