ActionCollection.Remove ActionCollection.Remove ActionCollection.Remove Method

Definition

Removes an Action from the collection.

Overloads

Remove(Action) Remove(Action) Remove(Action)

Removes the specified Action from the collection.

Remove(String) Remove(String) Remove(String)

Removes the Action, with the specified identifier, from the collection.

Remove(Action, Boolean) Remove(Action, Boolean) Remove(Action, Boolean)

Removes the specified Action from the collection and performs a cleanup after the operation.

Remove(String, Boolean) Remove(String, Boolean) Remove(String, Boolean)

Removes the Action, with the specified identifier, from the collection and performs a cleanup after the operation.

Remove(Action) Remove(Action) Remove(Action)

Removes the specified Action from the collection.

public:
 void Remove(Microsoft::AnalysisServices::Action ^ item);
public void Remove (Microsoft.AnalysisServices.Action item);
Public Sub Remove (item As Action)
Parameters
item
Action Action Action

The Action to be removed.

Exceptions

item is not contained by the collection.

Remove(String) Remove(String) Remove(String)

Removes the Action, with the specified identifier, from the collection.

public:
 void Remove(System::String ^ id);
public void Remove (string id);
Public Sub Remove (id As String)
Parameters
id
String String String

The identifier of the Action to be removed.

Exceptions

id is not contained by the collection.

Remove(Action, Boolean) Remove(Action, Boolean) Remove(Action, Boolean)

Removes the specified Action from the collection and performs a cleanup after the operation.

public:
 void Remove(Microsoft::AnalysisServices::Action ^ item, bool cleanUp);
public void Remove (Microsoft.AnalysisServices.Action item, bool cleanUp);
Public Sub Remove (item As Action, cleanUp As Boolean)
Parameters
item
Action Action Action

The Action to be removed.

cleanUp
Boolean Boolean Boolean

true to perform cleanup after operation; otherwise, false.

Remove(String, Boolean) Remove(String, Boolean) Remove(String, Boolean)

Removes the Action, with the specified identifier, from the collection and performs a cleanup after the operation.

public:
 void Remove(System::String ^ id, bool cleanUp);
public void Remove (string id, bool cleanUp);
Public Sub Remove (id As String, cleanUp As Boolean)
Parameters
id
String String String

The identifier of the Action to be removed.

cleanUp
Boolean Boolean Boolean

true to perform cleanup after operation; otherwise, false.

Applies to