Click or drag to resize

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.20.39432
Syntax
public Item fetchRelationships(
	string relationshipTypeName,
	string selectList
)

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: Item
If server request failed the method returns an "error" item; otherwise it returns this.
Exceptions
ExceptionCondition
Exception
  • The instance doesn't represent a single item.
  • Item's ID is not set.
ArgumentExceptionRelationship type either null or empty.
Remarks
The method performs a server request.
See Also