IMetricSetServiceRemoveAllStates Method

Removes all states from the specified state group and saves the metric set.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void RemoveAllStates(
	MetricSet metricSet,
	Guid stateGroupId
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSetsMetricSet
The metric set.
stateGroupId
Type: SystemGuid
The state group identifier.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetricSet is .
ArgumentExceptionstateGroupId does not reference a valid state group.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also