DataCubeSetupHierarchy 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 (24.3.0.1000)
Syntax
public IHierarchy SetupHierarchy(
	ConnectorElement connectorElement,
	UserHierarchyLevel hierarchyLevel
)

Parameters

connectorElement
Type: Dundas.BI.Data.TransformsConnectorElement
The connector element.
hierarchyLevel
Type: Dundas.BI.Entities.UserHierarchiesUserHierarchyLevel
The hierarchy level.

Return Value

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