IRelationshipServiceGetJoinRelationship Method (IStructure, IStructure, IEnumerableString, IEnumerableString) | 
 
            Gets the relationship to be used for a join operation. If there are no relationships defined, it generates one.
            
 
    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(
	IStructure firstStructure,
	IStructure secondStructure,
	IEnumerable<string> firstStructureElements,
	IEnumerable<string> secondStructureElements
)
Function GetJoinRelationship ( 
	firstStructure As IStructure,
	secondStructure As IStructure,
	firstStructureElements As IEnumerable(Of String),
	secondStructureElements As IEnumerable(Of String)
) As Relationship
Relationship^ GetJoinRelationship(
	IStructure^ firstStructure, 
	IStructure^ secondStructure, 
	IEnumerable<String^>^ firstStructureElements, 
	IEnumerable<String^>^ secondStructureElements
)
abstract GetJoinRelationship : 
        firstStructure : IStructure * 
        secondStructure : IStructure * 
        firstStructureElements : IEnumerable<string> * 
        secondStructureElements : IEnumerable<string> -> Relationship 
Parameters
- firstStructure
 - Type: Dundas.BI.Data.MetadataIStructure
The first structure. - secondStructure
 - Type: Dundas.BI.Data.MetadataIStructure
The second structure. - firstStructureElements
 - Type: System.Collections.GenericIEnumerableString
The selected elements from the first structure, to be used as relationship hints. - secondStructureElements
 - Type: System.Collections.GenericIEnumerableString
The selected elements from the second structure, to be used as relationship hints. 
Return Value
Type: 
RelationshipThe relationship to be used in the join operation.
Exceptions
See Also