HierarchyCollection.Add Method (String, Boolean)

 

Updated: May 24, 2016

Creates and adds a Hierarchy, with the specified name, to the end of the collection.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public Hierarchy Add(
	string name,
	bool updateDependents
)

Parameters

name
Type: System.String

The name of the Hierarchy to be added.

updateDependents
Type: System.Boolean

Indicates whether the dependents of the Hierarchy should be updated.

Return Value

Type: Microsoft.AnalysisServices.Hierarchy

A new, empty Hierarchy.

Return to top
Show: