Export (0) Print
Expand All

HierarchyCollection.GetByName Method

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: String
The name of the Hierarchy to be returned.

Return Value

Type: Microsoft.AnalysisServices.Hierarchy
The Hierarchy with the name specified in name.

ExceptionCondition
ItemNotFoundException

name is not contained by the collection.

Community Additions

ADD
Show:
© 2015 Microsoft