MetricSetAddDynamicHierarchy Method |
Adds a new dynamic hierarchy to the current instance.
Namespace: Dundas.BI.Entities.MetricSetsAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.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 String
- The dynamic hierarchy name.
- description String
- The dynamic hierarchy description.
- placement PlacementPosition
- The axis placement.
Return Value
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