Share via


PerspectiveCollection.FindByName Method

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function FindByName ( _
    name As String _
) As Perspective
'Usage
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

Parameters

Return Value

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