A Sandcastle Documented Class Library

# IMetricSetService RemoveStateGroup Method

Removes the state group and then saves the metric set.

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 RemoveStateGroup(
    	MetricSet metricSet,
    	Guid stateGroupId
    )

    Sub RemoveStateGroup (
    	metricSet As MetricSet,
    	stateGroupId As Guid
    )

    void RemoveStateGroup(
    	MetricSet^ metricSet,
    	Guid stateGroupId
    )

    abstract RemoveStateGroup :
            metricSet : MetricSet *
            stateGroupId : Guid -> unit

#### Parameters

metricSet
  Type: Dundas.BI.Entities.MetricSets
  MetricSet
  The metric set.
stateGroupId
  Type: System
  Guid
  The state group ID.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | metricSet is .
ArgumentException | stateGroupId does not reference a valid state group.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IMetricSetService Interface
Dundas.BI.Entities.MetricSets Namespace