Open this page in the API Guide

IRelationshipService.DeleteRelationships Method (Guid, Guid)

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

Parameters

structureId
Type: System.Guid
The structure ID.
referencedStructureId
Type: System.Guid
The referenced structure ID.

Return Value

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