DataCubeSetupHierarchy Method (String, UserHierarchyLevel)

Setups a IHierarchy object by linking an existing relational hierarchy to a ConnectorElement with the specified native element name.

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(
	string nativeElementName,
	UserHierarchyLevel hierarchyLevel
)

Parameters

nativeElementName
Type: SystemString
The native element name.
hierarchyLevel
Type: Dundas.BI.Entities.UserHierarchiesUserHierarchyLevel
The hierarchy level.

Return Value

Type: IHierarchy
The linked hierarchy.
Exceptions
ExceptionCondition
ArgumentNullExceptionhierarchyLevel is .
ArgumentExceptionNo output element with the nativeElementName native name was found.
See Also