LevelCollection.FindByName 方法

Gets the Level, with the specified name, from the collection.

命名空间:  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
The Level if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

请参阅

参考

LevelCollection 类

Microsoft.AnalysisServices 命名空间