Share via


ModelComponentCollection.IModelComponentCollection.Remove Method (IModelComponent, Boolean)

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

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

Syntax

'Declaration
Private Sub Remove ( _
    item As IModelComponent, _
    cleanUp As Boolean _
) Implements IModelComponentCollection.Remove
'Usage
Dim instance As ModelComponentCollection 
Dim item As IModelComponent 
Dim cleanUp As Boolean 

CType(instance, IModelComponentCollection).Remove(item, _
    cleanUp)
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
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

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

Reference

ModelComponentCollection Class

Remove Overload

Microsoft.AnalysisServices Namespace