IRelationshipServiceGetRelationships Method (Guid, Guid) |
Gets the relationships between the two specified structures.
Namespace:
Dundas.BI.Data.Relationships
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
SyntaxIReadOnlyCollection<Relationship> GetRelationships(
Guid firstStructureId,
Guid secondStructureId
)
Function GetRelationships (
firstStructureId As Guid,
secondStructureId As Guid
) As IReadOnlyCollection(Of Relationship)
IReadOnlyCollection<Relationship^>^ GetRelationships(
Guid firstStructureId,
Guid secondStructureId
)
abstract GetRelationships :
firstStructureId : Guid *
secondStructureId : Guid -> IReadOnlyCollection<Relationship>
Parameters
- firstStructureId
- Type: SystemGuid
The first structure ID. - secondStructureId
- Type: SystemGuid
The second structure ID.
Return Value
Type:
IReadOnlyCollectionRelationshipThe list of relationships.
Exceptions| Exception | Condition |
|---|
| ArgumentException | firstStructureId or secondStructureId is Empty. |
| 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