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 (25.3.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
 - Type: SystemGuid
The first structure ID. - secondStructureId
 - Type: SystemGuid
The second structure ID. 
Return Value
Type: 
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