MeasureExpressionDefineInputMeasureParameter Method (String, String, String, MeasureUsage, MetricSetUsage)

Defines an input measure 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 DefineInputMeasureParameter(
	string caption,
	string parameterName,
	string parameterDescription,
	MeasureUsage defaultMeasure,
	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.
defaultMeasure
Type: Dundas.BI.Entities.MetricSetsMeasureUsage
The default measure.
usage
Type: Dundas.BI.Entities.MetricSetsMetricSetUsage
The dependency metric set usage information.

Return Value

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