Compartir a través de


GetByName Método

Gets the Perspective that has the specified name from the collection.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function GetByName ( _
    name As String _
) As Perspective
'Uso
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

Parámetros

Valor devuelto

Tipo: Microsoft.AnalysisServices. . :: . .Perspective
The Perspective if it exists in the collection.

Excepciones

Excepción Condición
ItemNotFoundException

name does not exist in the collection.