A Sandcastle Documented Class Library

# IMetricSetService SetupCustomHierarchyGroup Method

Configures a custom group of hierarchy members.

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

    VirtualHierarchyMember SetupCustomHierarchyGroup(
    	MetricSet metricSet,
    	string hierarchyUsageUniqueName,
    	string caption,
    	ICollection<string> memberUniqueNames
    )

    Function SetupCustomHierarchyGroup (
    	metricSet As MetricSet,
    	hierarchyUsageUniqueName As String,
    	caption As String,
    	memberUniqueNames As ICollection(Of String)
    ) As VirtualHierarchyMember

    VirtualHierarchyMember^ SetupCustomHierarchyGroup(
    	MetricSet^ metricSet,
    	String^ hierarchyUsageUniqueName,
    	String^ caption,
    	ICollection<String^>^ memberUniqueNames
    )

    abstract SetupCustomHierarchyGroup :
            metricSet : MetricSet *
            hierarchyUsageUniqueName : string *
            caption : string *
            memberUniqueNames : ICollection<string> -> VirtualHierarchyMember

#### Parameters

metricSet
  Type: Dundas.BI.Entities.MetricSets
  MetricSet
  The metric set.
hierarchyUsageUniqueName
  Type: System
  String
  The hierarchy usage unique name.
caption
  Type: System
  String
  The group caption.
memberUniqueNames
  Type: System.Collections.Generic
  ICollection
  String
  The member unique names.

#### Return Value

Type: VirtualHierarchyMember
The virtual hierarchy member.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | metricSet is .
ArgumentNullException | hierarchyUsageUniqueName is .
ArgumentException | memberUniqueNames is either or empty.
NotFoundException | memberUniqueNames contains invalid hierarchy member unique names.

See Also

#### Reference

IMetricSetService Interface
Dundas.BI.Entities.MetricSets Namespace