Open this page in the API Guide

IRelationshipService.UpdateRelationship Method (Relationship)

Updates the relationship definition and preserve all other stored definitions, irrespective of the check in status of the primary structure.

Namespace:  Dundas.BI.Data.Relationships
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
bool UpdateRelationship(
	Relationship relationship
)

Parameters

relationship
Type: Dundas.BI.Data.Relationships.Relationship
The relationship.

Return Value

Type: Boolean
true if the operation was successful; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionrelationship is null.
ArgumentExceptionrelationship is defined for a structure that has never been saved.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also