Share via


AggregationInstanceCollection.Remove Method (AggregationInstance, Boolean)

Removes the specified AggregationInstance from the collection and optionally deletes the referencing objects.

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

Syntax

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

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

Parameters

  • cleanUp
    Type: System.Boolean
    true to delete the referencing objects; otherwise, false.

See Also

Reference

AggregationInstanceCollection Class

Remove Overload

Microsoft.AnalysisServices Namespace