ActionCollection.FindByName Method
Gets the Action, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function FindByName ( _
name As String _
) As Action
'Usage
Dim instance As ActionCollection
Dim name As String
Dim returnValue As Action
returnValue = instance.FindByName(name)
public Action FindByName(
string name
)
public:
Action^ FindByName(
String^ name
)
member FindByName :
name:string -> Action
public function FindByName(
name : String
) : Action
Parameters
- name
Type: System.String
The name of the Action to be returned.
Return Value
Type: Microsoft.AnalysisServices.Action
The Action if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).