Share via


ModelComponentCollection.IModelComponentCollection.Remove Method (IModelComponent, Boolean)

 

Applies To: SQL Server (starting with 2016)

Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.

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

Syntax

void IModelComponentCollection.Remove(
    IModelComponent item,
    bool cleanUp
)
private:
virtual void Remove(
    IModelComponent^ item,
    bool cleanUp
) sealed = IModelComponentCollection::Remove
private abstract Remove : 
        item:IModelComponent *
        cleanUp:bool -> unit
private override Remove : 
        item:IModelComponent *
        cleanUp:bool -> unit
Private Sub Remove (
    item As IModelComponent,
    cleanUp As Boolean
)
    Implements IModelComponentCollection.Remove

Parameters

  • cleanUp
    Type: System.Boolean

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Implements

IModelComponentCollection.Remove(IModelComponent, Boolean)

See Also

IModelComponentCollection.Remove Overload
ModelComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top