IMetricSetServiceAddStateGroup Method

Adds the state group to the metric set 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 (26.2.0.1000)
Syntax
StateGroup AddStateGroup(
	MetricSet metricSet,
	string measureUniqueName,
	string stateGroupName,
	string stateGroupDescription
)

Parameters

metricSet  MetricSet
The metric set.
measureUniqueName  String
The unique name of the measure the state group is attached to.
stateGroupName  String
Name of the state group.
stateGroupDescription  String
The state group description.

Return Value

StateGroup
The newly added state group.
Exceptions
ExceptionCondition
ArgumentNullExceptionmetricSet is .
ArgumentExceptionmeasureUniqueName does not reference a valid measure.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also