Share via


ActionCollection.GetByName(String) Method

Definition

Gets the Action that has the specified name from the collection.

public Microsoft.AnalysisServices.Action GetByName (string name);
member this.GetByName : string -> Microsoft.AnalysisServices.Action
Public Function GetByName (name As String) As Action

Parameters

name
String

The name of the Action to locate.

Returns

The Action with the specified Name.

Exceptions

The collection doesn't contain an Action with the specified name.

Applies to