Partager via


Méthode FindByName

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function FindByName ( _
    name As String _
) As Perspective
'Utilisation
Dim instance As PerspectiveCollection
Dim name As String
Dim returnValue As Perspective

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

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices. . :: . .Perspective
The Perspective if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).