MetricSetAddDynamicHierarchy Method  | 
 
            Adds a new dynamic hierarchy to the current instance.
            
 
    Namespace: 
   Dundas.BI.Entities.MetricSets
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxpublic HierarchyUsage AddDynamicHierarchy(
	string name,
	string description,
	PlacementPosition placement
)
Public Function AddDynamicHierarchy ( 
	name As String,
	description As String,
	placement As PlacementPosition
) As HierarchyUsage
public:
HierarchyUsage^ AddDynamicHierarchy(
	String^ name, 
	String^ description, 
	PlacementPosition placement
)
member AddDynamicHierarchy : 
        name : string * 
        description : string * 
        placement : PlacementPosition -> HierarchyUsage 
Parameters
- name
 - Type: SystemString
The dynamic hierarchy name. - description
 - Type: SystemString
The dynamic hierarchy description. - placement
 - Type: Dundas.BI.Entities.MetricSetsPlacementPosition
The axis placement. 
Return Value
Type: 
HierarchyUsageThe hierarchy usage element.
Exceptions| Exception | Condition | 
|---|
| InvalidOperationException | The metric set is set for raw data retrieval, or there is no underlying cube, or the underlying cube has no hierarchies. | 
See Also