Share via


MdxScriptCollection.Remove Method (MdxScript, Boolean)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Removes the specified MdxScript from this collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Remove ( _
    item As MdxScript, _
    cleanUp As Boolean _
)
'Usage
Dim instance As MdxScriptCollection 
Dim item As MdxScript 
Dim cleanUp As Boolean

instance.Remove(item, cleanUp)
public void Remove(
    MdxScript item,
    bool cleanUp
)
public:
void Remove(
    MdxScript^ item, 
    bool cleanUp
)
member Remove : 
        item:MdxScript * 
        cleanUp:bool -> unit
public function Remove(
    item : MdxScript, 
    cleanUp : boolean
)

Parameters

  • cleanUp
    Type: System.Boolean
    True if it will delete referencing objects; otherwise, false.

See Also

Reference

MdxScriptCollection Class

Remove Overload

Microsoft.AnalysisServices Namespace