A Sandcastle Documented Class Library

# MetricSet AddColumnHierarchy Method

Add a new column hierarchy.

Namespace: Dundas.BI.Entities.MetricSets
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 virtual HierarchyUsage AddColumnHierarchy(
    	IHierarchy hierarchy
    )

    Public Overridable Function AddColumnHierarchy (
    	hierarchy As IHierarchy
    ) As HierarchyUsage

    public:
    virtual HierarchyUsage^ AddColumnHierarchy(
    	IHierarchy^ hierarchy
    )

    abstract AddColumnHierarchy :
            hierarchy : IHierarchy -> HierarchyUsage
    override AddColumnHierarchy :
            hierarchy : IHierarchy -> HierarchyUsage

#### Parameters

hierarchy
  Type: Dundas.BI.Data.Metadata
  IHierarchy
  The hierarchy.

#### Return Value

Type: HierarchyUsage
The hierarchy usage.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | hierarchy is .
ArgumentException | hierarchy has a different parent analysis structure than the current metric set, or hierarchy is already part of the current metric set definition.

See Also

#### Reference

MetricSet Class
Dundas.BI.Entities.MetricSets Namespace