Click or drag to resize

ItemgetLockStatus Method

Gets item's lock status based on the property locked_by_id.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 14.0.20.39432
Syntax
public int getLockStatus()

Return Value

Type: Int32
  • 0 not locked
  • 1 locked by user
  • 2 locked by other
Exceptions
ExceptionCondition
ExceptionThe instance doesn't represent a single item.
Remarks
If the property locked_by_id is not set on item's AML, the method returns 0. In order to fetch item's lock status from the server use fetchLockStatus.
See Also