次の方法で共有


LevelCollection.FindByName メソッド

指定した名前の Level をコレクションから取得します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Function FindByName ( _
    name As String _
) As Level
'使用
Dim instance As LevelCollection 
Dim name As String 
Dim returnValue As Level 

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

パラメーター

戻り値

型: Microsoft.AnalysisServices.Level
コレクションに含まれている場合は Level、含まれていない場合は NULL 参照 (Visual Basic では Nothing) です。

関連項目

参照

LevelCollection クラス

Microsoft.AnalysisServices 名前空間