IRelationshipServiceDeleteRelationships Method (IStructure, RelationshipCategory)

Deletes the relationships for the specified structure, using the specified category and the current checked out status.

Namespace:  Dundas.BI.Data.Relationships
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
bool DeleteRelationships(
	IStructure dataStructure,
	RelationshipCategory category
)

Parameters

dataStructure
Type: Dundas.BI.Data.MetadataIStructure
The data structure.
category
Type: Dundas.BI.Data.RelationshipsRelationshipCategory
The relationship category.

Return Value

Type: Boolean
if the operation was successful; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptiondataStructure is .
ArgumentExceptioncategory is None.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also