IRelationshipServiceGetJoinRelationship(Guid, Guid) Method

Gets the relationship to be used for a join operation. If no relationships are defined, a new one is generated.

Namespace: Dundas.BI.Data.Relationships
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
Relationship? GetJoinRelationship(
	Guid firstStructureId,
	Guid secondStructureId
)

Parameters

firstStructureId  Guid
The first structure ID.
secondStructureId  Guid
The second structure ID.

Return Value

Relationship
The relationship to be used in the join operation.
Exceptions
ExceptionCondition
ArgumentExceptionfirstStructureId or secondStructureId is Empty or they reference structures that cannot be used in a relationship definition.
NotFoundExceptionfirstStructureId or secondStructureId does not exist.
NoPrivilegeExceptionThe caller does not have permission to access the structure referenced by firstStructureId or secondStructureId.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also