HierarchyCollection.GetByName Method (String)

 

Updated: May 24, 2016

Gets the Hierarchy, with the specified name, from the collection.

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

public Hierarchy GetByName(
	string name
)

Parameters

name
Type: System.String

The name of the Hierarchy to be returned.

Return Value

Type: Microsoft.AnalysisServices.Hierarchy

The Hierarchy with the name specified in name.

Exception Condition
ItemNotFoundException

name is not contained by the collection.

Return to top
Show: