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
Syntaxpublic int getLockStatus()
Public Function getLockStatus As Integer
public int getLockStatus()
public function getLockStatus() : int
Return Value
Type:
Int32-
0 not locked
-
1 locked by user
-
2 locked by other
ExceptionsException | Condition |
---|
Exception | The 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