IRelationshipService.UpdateRelationships Method |
Updates the relationship definitions, and preserves all other stored definitions.
Namespace:
Dundas.BI.Data.Relationships
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntaxbool UpdateRelationships(
IStructure dataStructure,
IEnumerable<Relationship> relationships
)
Function UpdateRelationships (
dataStructure As IStructure,
relationships As IEnumerable(Of Relationship)
) As Boolean
bool UpdateRelationships(
IStructure^ dataStructure,
IEnumerable<Relationship^>^ relationships
)
abstract UpdateRelationships :
dataStructure : IStructure *
relationships : IEnumerable<Relationship> -> bool
Parameters
- dataStructure
- Type: Dundas.BI.Data.Metadata.IStructure
The primary data structure. - relationships
- Type: System.Collections.Generic.IEnumerable<Relationship>
The relationship collection.
Return Value
Type:
Booleantrue if the operation was successful; otherwise,
false.
ExceptionsException | Condition |
---|
ArgumentNullException | dataStructure or relationships is null. |
ArgumentException | relationships is empty or contains relationships not defined for the specified dataStructure
or
dataStructure has never been saved. |
InvalidSessionException | The caller context is not associated with a valid session. |
See Also