MeasureExpressionDefineMeasurePlaceholder Method (String, MeasureUsage, MetricSetUsage)

Defines a measure placeholder for the current expression, using the specified metric set usage object as the measure container.

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 MeasurePlaceholder DefineMeasurePlaceholder(
	string caption,
	MeasureUsage measureUsage,
	MetricSetUsage usage
)

Parameters

caption
Type: SystemString
The caption used in the statement.
measureUsage
Type: Dundas.BI.Entities.MetricSetsMeasureUsage
The measure usage element.
usage
Type: Dundas.BI.Entities.MetricSetsMetricSetUsage
The dependency metric set usage information.

Return Value

Type: MeasurePlaceholder
The measure placeholder.
Exceptions
ExceptionCondition
ArgumentNullExceptionmeasureUsage or usage is .
ArgumentException

caption is or Empty or already in use.

or

usage is invalid because of name or referenced metric set.

InvalidOperationExceptionusage information must be specified only for FormulaMetricSet objects.
See Also