DataCubeSetupHierarchy Method (ConnectorElement, UserHierarchy)

Sets up 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,
	UserHierarchy userHierarchy
)

Parameters

connectorElement
Type: Dundas.BI.Data.TransformsConnectorElement
The connector element to be used to generate the data cube hierarchy information.
userHierarchy
Type: Dundas.BI.Entities.UserHierarchiesUserHierarchy
The user hierarchy.

Return Value

Type: IHierarchy
The linked hierarchy.
Exceptions
ExceptionCondition
ArgumentNullExceptionconnectorElement or userHierarchy is .
ArgumentExceptionconnectorElement does not belong the output element collection.
See Also