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