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