MdxScriptCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Remove(MdxScript) |
Removes the specified MdxScript from the collection. |
Remove(String) |
Removes the MdxScript with the specified identifier from the collection. |
Remove(MdxScript, Boolean) |
Removes the specified MdxScript from the collection. |
Remove(String, Boolean) |
Removes the MdxScript with the specified identifier from the collection. |
Remove(MdxScript)
Removes the specified MdxScript from the collection.
public void Remove (Microsoft.AnalysisServices.MdxScript item);
override this.Remove : Microsoft.AnalysisServices.MdxScript -> unit
Public Sub Remove (item As MdxScript)
Parameters
Exceptions
The specified item is a null reference (Nothing in Visual Basic).
Applies to
Remove(String)
Remove(MdxScript, Boolean)
Removes the specified MdxScript from the collection.
public void Remove (Microsoft.AnalysisServices.MdxScript item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.MdxScript * bool -> unit
Public Sub Remove (item As MdxScript, cleanUp As Boolean)
Parameters
- cleanUp
- Boolean
True, if referencing objects are to be deleted; otherwise, false.
Exceptions
The specified item is a null reference (Nothing in Visual Basic).
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.
Applies to
Remove(String, Boolean)
Removes the MdxScript with the specified identifier from the collection.
public void Remove (string id, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (id As String, cleanUp As Boolean)
Parameters
- cleanUp
- Boolean
True, if referencing objects are to be deleted; otherwise, false.
Remarks
This API supports the product infrastructure and is not intended to be used directly from your code.