IRelationshipServiceGetDirectionalRelationships Method

Gets the relationships between the specified primary structure and the specified referenced structure.

Namespace:  Dundas.BI.Data.Relationships
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
IReadOnlyCollection<Relationship> GetDirectionalRelationships(
	Guid structureId,
	Guid referencedStructureId
)

Parameters

structureId
Type: SystemGuid
The primary structure ID.
referencedStructureId
Type: SystemGuid
The referenced structure ID.

Return Value

Type: IReadOnlyCollectionRelationship
The list of relationships.
Exceptions
ExceptionCondition
ArgumentExceptionstructureId or referencedStructureId is Empty.
NotFoundExceptionstructureId or referencedStructureId does not exist.
NoPrivilegeExceptionThe caller does not have permission to access the structure referenced by structureId or referencedStructureId.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also