依據名稱,從集合取得指定的 Level。
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.dll 中)
語法
'宣告
Public Function Find ( _
name As String _
) As Level
'用途
Dim instance As LevelCollection
Dim name As String
Dim returnValue As Level
returnValue = instance.Find(name)
public Level Find(
string name
)
public:
Level^ Find(
String^ name
)
member Find :
name:string -> Level
public function Find(
name : String
) : Level
參數
- name
型別:String
要尋找之 Level 的名稱。
傳回值
型別:Microsoft.AnalysisServices.AdomdServer.Level
如果找到,則為具有指定名稱的 Level,否則為 nullnull 參考 (在 Visual Basic 中為 Nothing)。
備註
如果找不到物件,Find 會傳回 nullnull 參考 (在 Visual Basic 中為 Nothing),而如果找不到物件,Item 屬性則會擲回例外狀況。