MeasureExpressionDefineInputHierarchyParameter 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 (24.3.0.1000)
Syntax
public ParameterPlaceholder DefineInputHierarchyParameter(
	string caption,
	string parameterName,
	string parameterDescription,
	HierarchyUsage defaultHierarchy,
	MetricSetUsage usage
)

Parameters

caption
Type: SystemString
The parameter caption used in the statement.
parameterName
Type: SystemString
Name of the parameter.
parameterDescription
Type: SystemString
The parameter description.
defaultHierarchy
Type: Dundas.BI.Entities.MetricSetsHierarchyUsage
The default hierarchy.
usage
Type: Dundas.BI.Entities.MetricSetsMetricSetUsage
The dependency metric set usage information.

Return Value

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