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 (24.4.0.1000)
Syntax
StateGroup AddStateGroup(
	MetricSet metricSet,
	string measureUniqueName,
	string stateGroupName,
	string stateGroupDescription
)

Parameters

metricSet
Type: Dundas.BI.Entities.MetricSetsMetricSet
The metric set.
measureUniqueName
Type: SystemString
The unique name of the measure the state group is attached to.
stateGroupName
Type: SystemString
Name of the state group.
stateGroupDescription
Type: SystemString
The state group description.

Return Value

Type: 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