A Sandcastle Documented Class Library

# DataCube SetupHierarchy Method (ConnectorElement, ITimeHierarchyLevel)

Setups a IHierarchy object by linking an existing time hierarchy level to the specified ConnectorElement.

Namespace: Dundas.BI.Entities.DataCubes
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public IHierarchy SetupHierarchy(
    	ConnectorElement connectorElement,
    	ITimeHierarchyLevel timeLevel
    )

    Public Function SetupHierarchy (
    	connectorElement As ConnectorElement,
    	timeLevel As ITimeHierarchyLevel
    ) As IHierarchy

    public:
    IHierarchy^ SetupHierarchy(
    	ConnectorElement^ connectorElement,
    	ITimeHierarchyLevel^ timeLevel
    )

    member SetupHierarchy :
            connectorElement : ConnectorElement *
            timeLevel : ITimeHierarchyLevel -> IHierarchy

#### Parameters

connectorElement
  Type: Dundas.BI.Data.Transforms
  ConnectorElement
  The connector element to be linked to the time hierarchy level.
timeLevel
  Type: Dundas.BI.Data.Metadata
  ITimeHierarchyLevel
  The time hierarchy level.

#### Return Value

Type: IHierarchy
The linked hierarchy.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | connectorElement or timeLevel is .
ArgumentException | connectorElement does not belong to the current instance or has an invalid data type.

See Also

#### Reference

DataCube Class
SetupHierarchy Overload
Dundas.BI.Entities.DataCubes Namespace