IRelationshipServiceUpdateRelationship Method (Guid, String, String, Guid, Guid, IEnumerableRelationshipKey)

Updates the relationship definition, 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 (24.3.0.1000)
Syntax
bool UpdateRelationship(
	Guid relationshipId,
	string name,
	string description,
	Guid structureId,
	Guid referencedStructureId,
	IEnumerable<RelationshipKey> keys
)

Parameters

relationshipId
Type: SystemGuid
The relationship ID.
name
Type: SystemString
The name.
description
Type: SystemString
The description.
structureId
Type: SystemGuid
The primary structure ID.
referencedStructureId
Type: SystemGuid
The referenced structure ID.
keys
Type: System.Collections.GenericIEnumerableRelationshipKey
The relationship keys.

Return Value

Type: Boolean
if the operation was successful; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptionkeys is .
ArgumentExceptionstructureId or referencedStructureId is Empty or keys is empty.
NotFoundExceptionstructureId does not exist.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also