ItemfetchLockStatus Method |
Fetches from the server the locked status of the item using the item's ID.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.20.39432
Syntaxpublic int fetchLockStatus()
Public Function fetchLockStatus As Integer
public int fetchLockStatus()
public function fetchLockStatus() : int
Return Value
Type:
Int32-
-1 - failed to fetch item's lock status from server
-
0 not locked
-
1 locked by user
-
2 locked by other
ExceptionsException | Condition |
---|
Exception | -
The instance doesn't represent a single item.
-
The item's type or ID is not set.
|
Remarks
The method sends a request to the server in order to fetch the latest lock status of the item on server and
updates the item's property locked_by_id.
See Also