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 (25.3.0.1000)
SyntaxStateGroup AddStateGroup(
	MetricSet metricSet,
	string measureUniqueName,
	string stateGroupName,
	string stateGroupDescription
)
Function AddStateGroup ( 
	metricSet As MetricSet,
	measureUniqueName As String,
	stateGroupName As String,
	stateGroupDescription As String
) As StateGroup
StateGroup^ AddStateGroup(
	MetricSet^ metricSet, 
	String^ measureUniqueName, 
	String^ stateGroupName, 
	String^ stateGroupDescription
)
abstract AddStateGroup : 
        metricSet : MetricSet * 
        measureUniqueName : string * 
        stateGroupName : string * 
        stateGroupDescription : string -> StateGroup 
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: 
StateGroupThe newly added state group.
Exceptions
See Also