ItemfetchRelationships Method (String, String) |
Fetches relationships of specified type from the server and sets them on the item. Specified
select list will be set on the request AML.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic Item fetchRelationships(
string relationshipTypeName,
string selectList
)
Public Function fetchRelationships (
relationshipTypeName As String,
selectList As String
) As Item
public Item fetchRelationships(
String relationshipTypeName,
String selectList
)
public function fetchRelationships(
relationshipTypeName : String,
selectList : String
) : Item
Parameters
- relationshipTypeName
- Type: SystemString
Name of the relationship type. - selectList
- Type: SystemString
Select list that is set on attribute 'select' of the request (see "Programmer's Guide" for more info on
format of select list).
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