CommandCollection.Remove Method
Removes the specified Command from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Remove ( _
item As Command _
)
'Usage
Dim instance As CommandCollection
Dim item As Command
instance.Remove(item)
public void Remove(
Command item
)
public:
void Remove(
Command^ item
)
member Remove :
item:Command -> unit
public function Remove(
item : Command
)
Parameters
- item
Type: Microsoft.AnalysisServices.Command
The Command to be removed.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | item is not contained by the collection. |