Applies the 'unlock' action on the item and returns the server response.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
SyntaxPublic Function unlockItem As Item
public function unlockItem() : Item
Return Value
Type:
Item
Response item from the server.
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 to unlock the item. This is almost the equivalent to
this.apply("unlock") except that: a) the method checks that item's
type and ID are set before sending the request; b) the method removes locked_by_id property
of this item if the server response is not an error.
See Also