StateGroupAddState Method  | 
 
            Adds a new state to the state group collection.
            
 
    Namespace: 
   Dundas.BI.Entities.MetricSets
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxpublic State AddState(
	string name,
	string description
)
Public Function AddState ( 
	name As String,
	description As String
) As State
public:
State^ AddState(
	String^ name, 
	String^ description
)
member AddState : 
        name : string * 
        description : string -> State 
Parameters
- name
 - Type: SystemString
The name for the state. - description
 - Type: SystemString
The description for the state. 
Return Value
Type: 
StateThe newly defined 
State.
See Also