Gets item's lock status based on the property locked_by_id.
Namespace:
Aras.IOMAssembly: IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public int getLockStatus() |
Visual Basic (Declaration) |
---|
Public Function getLockStatus As Integer |
J# |
---|
public int getLockStatus() |
JScript |
---|
public function getLockStatus() : int |
Return Value
- 0 not locked
- 1 locked by user
- 2 locked by other
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.
Exceptions
Exception | Condition |
---|---|
System..::.Exception | The instance doesn't represent a single item. |