StateAddCondition Method (HierarchyUsage, MemberValue, ComparisonOperator)

Adds a new HierarchyCondition 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.4.0.1000)
Syntax
public HierarchyCondition AddCondition(
	HierarchyUsage hierarchy,
	MemberValue targetMember,
	ComparisonOperator comparisonOperator
)

Parameters

hierarchy
Type: Dundas.BI.Entities.MetricSetsHierarchyUsage
The hierarchy.
targetMember
Type: Dundas.BI.Data.ParametersMemberValue
The target member.
comparisonOperator
Type: Dundas.BI.Entities.MetricSetsComparisonOperator
The comparison operator.

Return Value

Type: HierarchyCondition
The newly added HierarchyCondition.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchy or targetMember is .
ArgumentExceptionhierarchy is not a time compatible hierarchy.
Remarks
Comparison operators other than equality are valid only for time compatible hierarchies.
See Also