MeasureExpressionDefineHierarchyPlaceholder Method (String, HierarchyUsage)

Defines a hierarchy placeholder for the current expression, using a non-specific instance ID for the metric set.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public HierarchyPlaceholder DefineHierarchyPlaceholder(
	string caption,
	HierarchyUsage hierarchyUsage
)

Parameters

caption
Type: SystemString
The caption used in the statement.
hierarchyUsage
Type: Dundas.BI.Entities.MetricSetsHierarchyUsage
The hierarchy usage element.

Return Value

Type: HierarchyPlaceholder
The hierarchy placeholder.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchyUsage is .
ArgumentExceptioncaption is or Empty or already in use.
See Also