MetricSetAddContextualMeasure Method  | 
 
            Add a new contextual measure. The user is responsible for entering contextual measure data.
            
 
    Namespace: 
   Dundas.BI.Entities.MetricSets
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxpublic MeasureUsage AddContextualMeasure(
	string name,
	string description
)
Public Function AddContextualMeasure ( 
	name As String,
	description As String
) As MeasureUsage
public:
MeasureUsage^ AddContextualMeasure(
	String^ name, 
	String^ description
)
member AddContextualMeasure : 
        name : string * 
        description : string -> MeasureUsage 
Parameters
- name
 - Type: SystemString
The measure name. - description
 - Type: SystemString
The measure description. 
Return Value
Type: 
MeasureUsageThe measure usage.
Exceptions| Exception | Condition | 
|---|
| InvalidOperationException | The current operation is not supported when the metric set returns raw data
            or the current instance is a FormulaMetricSet which do not support contextual measures. | 
See Also