IRelationshipServiceDeleteRelationships Method (IStructure, IStructure)

Deletes the relationships between the specified primary structure and the specified referenced structure ID, using 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,
	IStructure referencedStructure
)

Parameters

dataStructure
Type: Dundas.BI.Data.MetadataIStructure
The data structure.
referencedStructure
Type: Dundas.BI.Data.MetadataIStructure
The referenced data structure.

Return Value

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