Share via


ActionCollection.Add Method (String)

Creates and adds an Action, with the specified identifier, to the end of the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Add ( _
    name As String _
) As StandardAction
'Usage
Dim instance As ActionCollection
Dim name As String
Dim returnValue As StandardAction

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.StandardAction
The zero-based index at which the Action has been added.