Click or drag to resize

ItemisLocked Method

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.20.39432
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()

Return Value

Type: Int32
  • 0 not locked
  • 1 locked by user
  • 2 locked by other
Exceptions
ExceptionCondition
ExceptionThe 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