Open this page in the API Guide

DataCube.SetupHierarchy Method (ConnectorElement, UserHierarchyLevel)

Setups a IHierarchy object by linking an existing relational hierarchy to the specified ConnectorElement.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public IHierarchy SetupHierarchy(
	ConnectorElement connectorElement,
	UserHierarchyLevel hierarchyLevel
)

Parameters

connectorElement
Type: Dundas.BI.Data.Transforms.ConnectorElement
The connector element.
hierarchyLevel
Type: Dundas.BI.Entities.UserHierarchies.UserHierarchyLevel
The hierarchy level.

Return Value

Type: IHierarchy
The linked hierarchy.
Exceptions
ExceptionCondition
ArgumentNullExceptionconnectorElement or hierarchyLevel is null.
ArgumentExceptionconnectorElement does not belong to the current instance.
See Also