FormulaMetricSetAddColumnHierarchy Method

Adds a new column hierarchy and automatically links any corresponding generic dependency parameters to the current usage element parameters.

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 override HierarchyUsage AddColumnHierarchy(
	IHierarchy hierarchy
)

Parameters

hierarchy
Type: Dundas.BI.Data.MetadataIHierarchy
The hierarchy.

Return Value

Type: HierarchyUsage
The hierarchy usage element.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchy is .
ArgumentExceptionhierarchy is invalid as no underlying metric sets have such a column hierarchy or hierarchy is already part of the current metric set definition.
See Also