IMetricSetServiceRemoveElement 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 (24.4.0.1000)
Syntax
void RemoveElement(
	MetricSet metricSet,
	string uniqueName
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSetsMetricSet
The MetricSet to add the element to.
uniqueName
Type: SystemString
The unique name of the element to remove.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetricSet is .
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