DataCubeSetupHierarchy(ConnectorElement, UserHierarchyLevel, IEnumerableConnectorElement) Method

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 (26.2.0.1000)
Syntax
public IHierarchy SetupHierarchy(
	ConnectorElement connectorElement,
	UserHierarchyLevel hierarchyLevel,
	IEnumerable<ConnectorElement> linkElements
)

Parameters

connectorElement  ConnectorElement
The connector element to be used to generate the data cube hierarchy information.
hierarchyLevel  UserHierarchyLevel
The hierarchy level.
linkElements  IEnumerableConnectorElement
The connector elements to be used for defining a composite relationship.

Return Value

IHierarchy
The linked hierarchy.
Exceptions
ExceptionCondition
ArgumentNullExceptionconnectorElement or hierarchyLevel is .
NotSupportedExceptionThe specified hierarchy cannot be used in this data cube.
ArgumentExceptionconnectorElement does not belong the output element collection or linkElements is or empty.
See Also