ElementExpressionDefineHierarchyPlaceholder(String, HierarchyUsage, MetricSetUsage) Method

Defines a hierarchy placeholder for the current expression, using a specific instance object for the metric set.

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

Parameters

caption  String
The caption used in the statement.
hierarchyUsage  HierarchyUsage
The hierarchy usage element.
usage  MetricSetUsage
The dependency metric set usage information.

Return Value

HierarchyPlaceholder
The hierarchy placeholder.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchyUsage 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