Поделиться через


Метод HierarchyCollection.GetByName

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

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function GetByName ( _
    name As String _
) As Hierarchy
'Применение
Dim instance As HierarchyCollection 
Dim name As String 
Dim returnValue As Hierarchy 

returnValue = instance.GetByName(name)
public Hierarchy GetByName(
    string name
)
public:
Hierarchy^ GetByName(
    String^ name
)
member GetByName : 
        name:string -> Hierarchy
public function GetByName(
    name : String
) : Hierarchy

Параметры

Возвращаемое значение

Тип: Microsoft.AnalysisServices.Hierarchy
The Hierarchy with the name specified in name.

Исключения

Исключение Условие
ItemNotFoundException

name is not contained by the collection.

См. также

Справочник

HierarchyCollection Класс

Пространство имен Microsoft.AnalysisServices