StateAddCondition Method (MeasureUsage, ComparisonOperator)

Adds a new MeasureCondition to the internal condition collection.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public MeasureCondition AddCondition(
	MeasureUsage targetMeasure,
	ComparisonOperator comparisonOperator
)

Parameters

targetMeasure
Type: Dundas.BI.Entities.MetricSetsMeasureUsage
The target measure.
comparisonOperator
Type: Dundas.BI.Entities.MetricSetsComparisonOperator
The comparison operator to be used between the group measure and the target measure.

Return Value

Type: MeasureCondition
The newly added MeasureCondition.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetMeasure is .
ArgumentExceptioncomparisonOperator is invalid or targetMeasure is the measure the state is attached to.
See Also