Note: This API is now obsolete.
Fetches from the server the locked status of the item using the item's ID.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6920
Syntax[ObsoleteAttribute("The method will be removed from future releases of IOM APIs. Please use Item.fetchLockStatus() or Item.getLockStatus() instead",
false)]
public int isLocked()<ObsoleteAttribute("The method will be removed from future releases of IOM APIs. Please use Item.fetchLockStatus() or Item.getLockStatus() instead",
false)>
Public Function isLocked As Integer/** @attribute ObsoleteAttribute("The method will be removed from future releases of IOM APIs. Please use Item.fetchLockStatus() or Item.getLockStatus() instead",
false) */
public int isLocked()public function isLocked() : int
Return Value
Type:
Int32-
0 not locked
-
1 locked by user
-
2 locked by other
Exceptions| Exception | Condition |
|---|
| Exception | The instance doesn't represent a single item. |
Remarks
The method sends a request to the server to fetch item's lock status only if the item
doesn't have property locked_by_id set, otherwise the value of the property is returned.
See Also