IRelationshipServiceGetRelationships Method (Guid, Boolean) | 
 
            Gets all the relationships where the specified structure is either the primary structure or the referenced one.
            
 
    Namespace: 
   Dundas.BI.Data.Relationships
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
SyntaxIReadOnlyCollection<Relationship> GetRelationships(
	Guid structureId,
	bool recursive
)
Function GetRelationships ( 
	structureId As Guid,
	recursive As Boolean
) As IReadOnlyCollection(Of Relationship)
IReadOnlyCollection<Relationship^>^ GetRelationships(
	Guid structureId, 
	bool recursive
)
abstract GetRelationships : 
        structureId : Guid * 
        recursive : bool -> IReadOnlyCollection<Relationship> 
Parameters
- structureId
 - Type: SystemGuid
The structure ID. - recursive
 - Type: SystemBoolean
If set to , also include the relationships for all referenced structures. 
Return Value
Type: 
IReadOnlyCollectionRelationshipThe list of relationships.
Exceptions
See Also