A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    bool UpdateRelationship(
    	Relationship relationship
    )

    Function UpdateRelationship (
    	relationship As Relationship
    ) As Boolean

    bool UpdateRelationship(
    	Relationship^ relationship
    )

    abstract UpdateRelationship :
            relationship : Relationship -> bool

#### Parameters

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

#### Return Value

Type: Boolean
if the operation was successful; otherwise,
.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | relationship is .
ArgumentException | relationship is defined for a structure that has never been saved.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IRelationshipService Interface
UpdateRelationship Overload
Dundas.BI.Data.Relationships Namespace