IRelationshipServiceGetJoinRelationship Method (Guid, Guid)

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 (24.3.0.1000)
Syntax
Relationship GetJoinRelationship(
	Guid firstStructureId,
	Guid secondStructureId
)

Parameters

firstStructureId
Type: SystemGuid
The first structure ID.
secondStructureId
Type: SystemGuid
The second structure ID.

Return Value

Type: 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