getLockStatus

getLockStatus(target:       Object;
              lockType:     Integer output;
              lockDuration: Integer output;
              lockedBy:     Process output);

The getLockStatus method of the Object class returns the lock type and the lock duration of the current process locks for the object specified in the target parameter. The lockedBy parameter contains the current process.

This method returns only the lock status of an object locked by the current process.