Open this page in the API Guide

IRelationshipService.DeleteRelationships Method (Guid)

Deletes the relationships for the specified 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 (25.1.0.1000)
Syntax
bool DeleteRelationships(
	Guid structureId
)

Parameters

structureId
Type: System.Guid
The structure ID.

Return Value

Type: Boolean
true if the operation was successful; otherwise, false.
Exceptions
ExceptionCondition
ArgumentExceptionstructureId is Empty.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also