MetricSetAddSlicerHierarchy Method

Add a new slicer hierarchy.

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 virtual HierarchyUsage AddSlicerHierarchy(
	IHierarchy hierarchy
)

Parameters

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

Return Value

Type: HierarchyUsage
The hierarchy usage.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchy is .
ArgumentExceptionhierarchy has a different parent analysis structure than the current metric set, or hierarchy is already part of the current metric set definition.
See Also