IRelationshipServiceDeleteRelationship Method (Guid, Guid, Guid)

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 (24.3.0.1000)
Syntax
bool DeleteRelationship(
	Guid structureId,
	Guid referencedStructureId,
	Guid relationshipId
)

Parameters

structureId
Type: SystemGuid
The structure ID.
referencedStructureId
Type: SystemGuid
The referenced structure ID.
relationshipId
Type: SystemGuid
The relationship ID.

Return Value

Type: 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