StateAddCondition Method (HierarchyUsage, ParameterToken, ComparisonOperator) |
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 HierarchyCondition AddCondition(
HierarchyUsage hierarchy,
ParameterToken token,
ComparisonOperator comparisonOperator
)
Public Function AddCondition (
hierarchy As HierarchyUsage,
token As ParameterToken,
comparisonOperator As ComparisonOperator
) As HierarchyCondition
public:
HierarchyCondition^ AddCondition(
HierarchyUsage^ hierarchy,
ParameterToken^ token,
ComparisonOperator comparisonOperator
)
member AddCondition :
hierarchy : HierarchyUsage *
token : ParameterToken *
comparisonOperator : ComparisonOperator -> HierarchyCondition
Parameters
- hierarchy
- Type: Dundas.BI.Entities.MetricSetsHierarchyUsage
The hierarchy. - token
- Type: Dundas.BI.Data.Parameters.TokensParameterToken
The target parameter token. - comparisonOperator
- Type: Dundas.BI.Entities.MetricSetsComparisonOperator
The comparison operator.
Return Value
Type:
HierarchyConditionThe newly added
HierarchyCondition.
Exceptions Remarks Comparison operators other than equality are valid only for time compatible hierarchies.
See Also