Метод PerspectiveCollection.GetByName
Gets the Perspective that has the specified name from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function GetByName ( _
name As String _
) As Perspective
'Применение
Dim instance As PerspectiveCollection
Dim name As String
Dim returnValue As Perspective
returnValue = instance.GetByName(name)
public Perspective GetByName(
string name
)
public:
Perspective^ GetByName(
String^ name
)
member GetByName :
name:string -> Perspective
public function GetByName(
name : String
) : Perspective
Параметры
- name
Тип: System.String
The name of the Perspective to return.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.Perspective
The Perspective if it exists in the collection.
Исключения
Исключение | Условие |
---|---|
ItemNotFoundException | name does not exist in the collection. |