Open this page in the API Guide

MetricSet.AddDynamicHierarchy Method

Adds a new dynamic hierarchy to the current instance.

Namespace:  Dundas.BI.Entities.MetricSets
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public HierarchyUsage AddDynamicHierarchy(
	string name,
	string description,
	PlacementPosition placement
)

Parameters

name
Type: System.String
The dynamic hierarchy name.
description
Type: System.String
The dynamic hierarchy description.
placement
Type: Dundas.BI.Entities.MetricSets.PlacementPosition
The axis placement.

Return Value

Type: HierarchyUsage
The hierarchy usage element.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe metric set is set for raw data retrieval, or there is no underlying cube, or the underlying cube has no hierarchies.
See Also