IRelationshipServiceDeleteRelationship(Guid, Guid, Guid) Method

Deletes the specified relationship between the specified primary structure ID and the specified referenced structure ID, irrespective of the checked out status.

Namespace: Dundas.BI.Data.Relationships
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
bool DeleteRelationship(
	Guid structureId,
	Guid referencedStructureId,
	Guid relationshipId
)

Parameters

structureId  Guid
The structure ID.
referencedStructureId  Guid
The referenced structure ID.
relationshipId  Guid
The relationship ID.

Return Value

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