Fetches relationships of specified type from the server and sets them on the item.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 11.0.0.6296

Syntax

C#
public Item fetchRelationships(
	string relationshipTypeName
)
Visual Basic (Declaration)
Public Function fetchRelationships ( _
	relationshipTypeName As String _
) As Item
J#
public Item fetchRelationships(
	String relationshipTypeName
)
JScript
public function fetchRelationships(
	relationshipTypeName : String
) : Item

Parameters

relationshipTypeName
Type: System..::.String
Name of the relationship type.

Return Value

If server request failed the method returns an "error" item; otherwise it returns this.

Remarks

The method performs a server request.

Exceptions

ExceptionCondition
System..::.Exception
  • The instance doesn't represent a single item.
  • Item's ID is not set.
System..::.ArgumentExceptionRelationship type either null or empty.

See Also