ItemfetchRelationships Method (String) |
Fetches relationships of specified type from the server and sets them on the item.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic Item fetchRelationships(
string relationshipTypeName
)
Public Function fetchRelationships (
relationshipTypeName As String
) As Item
public Item fetchRelationships(
String relationshipTypeName
)
public function fetchRelationships(
relationshipTypeName : String
) : Item
Parameters
- relationshipTypeName
- Type: SystemString
Name of the relationship type.
Return Value
Type:
ItemIf server request failed the method returns an "error" item; otherwise it returns
this.
ExceptionsException | Condition |
---|
Exception | -
The instance doesn't represent a single item.
-
Item's ID is not set.
|
ArgumentException | Relationship type either null or empty. |
Remarks
The method performs a server request.
See Also