IRelationshipServiceGetRelationships(Guid, Int64) Method

Gets all the relationships where the specified structure is either the primary structure or the referenced one. For primary structure relationships retrieved according to the provided revision.

Namespace: Dundas.BI.Data.Relationships
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
IReadOnlyCollection<Relationship> GetRelationships(
	Guid structureId,
	long revision
)

Parameters

structureId  Guid
The structure ID.
revision  Int64
The structure revision.

Return Value

IReadOnlyCollectionRelationship
The list of relationships.
Exceptions
ExceptionCondition
ArgumentExceptionstructureId is Empty.
NotFoundExceptionThe structure does not exist.
NoPrivilegeExceptionThe caller does not have permission to access the structure.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also