Share via


AggregationInstanceCollection.Remove Method (String, Boolean)

Removes the 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 ( _
    id As String, _
    cleanUp As Boolean _
)
'Usage
Dim instance As AggregationInstanceCollection 
Dim id As String 
Dim cleanUp As Boolean

instance.Remove(id, cleanUp)
public void Remove(
    string id,
    bool cleanUp
)
public:
void Remove(
    String^ id, 
    bool cleanUp
)
member Remove : 
        id:string * 
        cleanUp:bool -> unit
public function Remove(
    id : String, 
    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