Returns an item that is a collection of relationship item with specified type; each relationship item has only properties specified in the select list.

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

Syntax

C#
[ObsoleteAttribute("The method will be removed from future releases of IOM. Please use fetchRelationship(...) methods instead.", 
	false)]
public Item getRelationships(
	string itemTypeName,
	string selectAttr
)
Visual Basic (Declaration)
<ObsoleteAttribute("The method will be removed from future releases of IOM. Please use fetchRelationship(...) methods instead.",  _
	False)> _
Public Function getRelationships ( _
	itemTypeName As String, _
	selectAttr As String _
) As Item
J#
/** @attribute ObsoleteAttribute("The method will be removed from future releases of IOM. Please use fetchRelationship(...) methods instead.", false) */
public Item getRelationships(
	String itemTypeName,
	String selectAttr
)
JScript
public function getRelationships(
	itemTypeName : String, 
	selectAttr : String
) : Item

Parameters

itemTypeName
Type: System..::.String
Type of relationship.
selectAttr
Type: System..::.String
Select list for relations items.

Return Value

Item that is a collection of relationship items with specified name. If this doesn't have any relationship of this type, the returned item nodeList will be empty.

Exceptions

ExceptionCondition
System..::.ExceptionThe instance doesn't represent a single item.

See Also