Open this page in the API Guide

IMetricSetService.RemoveElement Method

Removes the element from the given metric set and saves it.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void RemoveElement(
	MetricSet metricSet,
	string uniqueName
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSets.MetricSet
The MetricSet to add the element to.
uniqueName
Type: System.String
The unique name of the element to remove.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetricSet is null.
NotFoundExceptionThe element with the specified uniqueName does not exist.
InvalidOperationExceptionThe specified metric set is checked in.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also