A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void RemoveElement(
    	MetricSet metricSet,
    	string uniqueName
    )

    Sub RemoveElement (
    	metricSet As MetricSet,
    	uniqueName As String
    )

    void RemoveElement(
    	MetricSet^ metricSet,
    	String^ uniqueName
    )

    abstract RemoveElement :
            metricSet : MetricSet *
            uniqueName : string -> unit

#### 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

Exception | Condition
--- | ---
ArgumentNullException | metricSet is .
NotFoundException | The element with the specified uniqueName does not exist.
InvalidOperationException | The specified metric set is checked in.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IMetricSetService Interface
Dundas.BI.Entities.MetricSets Namespace