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.RelationshipsAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
SyntaxRelationship? GetJoinRelationship(
Guid firstStructureId,
Guid secondStructureId
)
Function GetJoinRelationship (
firstStructureId As Guid,
secondStructureId As Guid
) As Relationship
Relationship^ GetJoinRelationship(
Guid firstStructureId,
Guid secondStructureId
)
abstract GetJoinRelationship :
firstStructureId : Guid *
secondStructureId : Guid -> Relationship Parameters
- firstStructureId Guid
- The first structure ID.
- secondStructureId Guid
- The second structure ID.
Return Value
RelationshipThe relationship to be used in the join operation.
Exceptions| Exception | Condition |
|---|
| ArgumentException | firstStructureId or secondStructureId is Empty
or they reference structures that cannot be used in a relationship definition. |
| NotFoundException | firstStructureId or secondStructureId does not exist. |
| NoPrivilegeException | The caller does not have permission to access the structure referenced by firstStructureId or secondStructureId. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also