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: 14.0.9.36244
Syntax[ObsoleteAttribute("Obsolete since 11 SP7. The method will be removed from future releases of IOM APIs. Please use Item.fetchLockStatus() or Item.getLockStatus() instead",
true)]
public int isLocked()
<ObsoleteAttribute("Obsolete since 11 SP7. The method will be removed from future releases of IOM APIs. Please use Item.fetchLockStatus() or Item.getLockStatus() instead",
true)>
Public Function isLocked As Integer
/** @attribute ObsoleteAttribute("Obsolete since 11 SP7. The method will be removed from future releases of IOM APIs. Please use Item.fetchLockStatus() or Item.getLockStatus() instead",
true) */
public int isLocked()
public function isLocked() : 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
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