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

VB
'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)

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