ActionCollection.GetByName 方法

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

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

語法

'宣告
Public Function GetByName ( _
    name As String _
) As Action
'用途
Dim instance As ActionCollection 
Dim name As String 
Dim returnValue As Action 

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

參數

傳回值

型別:Microsoft.AnalysisServices.Action
The Action with the name specified in name.

例外狀況

例外狀況 條件
ItemNotFoundException

name is not contained by the collection.

請參閱

參考

ActionCollection 類別

Microsoft.AnalysisServices 命名空間