Open this page in the API Guide

MeasureExpression.DefineInputHierarchyParameter Method (String, String, String, HierarchyUsage, MetricSetUsage)

Defines an input hierarchy parameter for the current expression.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public ParameterPlaceholder DefineInputHierarchyParameter(
	string caption,
	string parameterName,
	string parameterDescription,
	HierarchyUsage defaultHierarchy,
	MetricSetUsage usage
)

Parameters

caption
Type: System.String
The parameter caption used in the statement.
parameterName
Type: System.String
Name of the parameter.
parameterDescription
Type: System.String
The parameter description.
defaultHierarchy
Type: Dundas.BI.Entities.MetricSets.HierarchyUsage
The default hierarchy.
usage
Type: Dundas.BI.Entities.MetricSets.MetricSetUsage
The dependency metric set usage information.

Return Value

Type: ParameterPlaceholder
The parameter placeholder.
Exceptions
ExceptionCondition
ArgumentNullExceptiondefaultHierarchy is null.
ArgumentExceptioncaption is null or Empty or already in use.
InvalidOperationExceptionusage information must be specified only for FormulaMetricSet objects.
See Also