共用方式為


PerspectiveCollection.FindByName 方法

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function FindByName ( _
    name As String _
) As Perspective
'用途
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

參數

傳回值

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

請參閱

參考

PerspectiveCollection 類別

Microsoft.AnalysisServices 命名空間