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 (25.3.0.1000)
Syntaxpublic IHierarchy SetupHierarchy(
	string nativeElementName,
	UserHierarchyLevel hierarchyLevel
)
Public Function SetupHierarchy ( 
	nativeElementName As String,
	hierarchyLevel As UserHierarchyLevel
) As IHierarchy
public:
IHierarchy^ SetupHierarchy(
	String^ nativeElementName, 
	UserHierarchyLevel^ hierarchyLevel
)
member SetupHierarchy : 
        nativeElementName : string * 
        hierarchyLevel : UserHierarchyLevel -> IHierarchy 
Parameters
- nativeElementName
 - Type: SystemString
The native element name. - hierarchyLevel
 - Type: Dundas.BI.Entities.UserHierarchiesUserHierarchyLevel
The hierarchy level. 
Return Value
Type: 
IHierarchyThe linked hierarchy.
Exceptions
See Also