FormulaMetricSetAddHierarchy Method |
Adds a new hierarchy and automatically links any corresponding parameters of the dependency with the specified name to the current usage element parameters.
Namespace:
Dundas.BI.Entities.MetricSets
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public HierarchyUsage AddHierarchy(
HierarchyUsage dependencyHierarchy,
MetricSetUsage usage
)
Public Function AddHierarchy (
dependencyHierarchy As HierarchyUsage,
usage As MetricSetUsage
) As HierarchyUsage
public:
HierarchyUsage^ AddHierarchy(
HierarchyUsage^ dependencyHierarchy,
MetricSetUsage^ usage
)
member AddHierarchy :
dependencyHierarchy : HierarchyUsage *
usage : MetricSetUsage -> HierarchyUsage
Parameters
- dependencyHierarchy
- Type: Dundas.BI.Entities.MetricSetsHierarchyUsage
The dependency hierarchy. - usage
- Type: Dundas.BI.Entities.MetricSetsMetricSetUsage
The dependency usage the hierarchy belongs to.
Return Value
Type:
HierarchyUsageThe hierarchy usage element.
Exceptions See Also