Share via


ModelComponentCollection.RemoveAt Method (Int32, Boolean)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Removes the IModelComponent at the specified index from the ModelComponentCollection.

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

Syntax

'Declaration
Public Sub RemoveAt ( _
    index As Integer, _
    cleanUp As Boolean _
)
'Usage
Dim instance As ModelComponentCollection 
Dim index As Integer 
Dim cleanUp As Boolean

instance.RemoveAt(index, cleanUp)
public void RemoveAt(
    int index,
    bool cleanUp
)
public:
void RemoveAt(
    int index, 
    bool cleanUp
)
member RemoveAt : 
        index:int * 
        cleanUp:bool -> unit
public function RemoveAt(
    index : int, 
    cleanUp : boolean
)

Parameters

  • cleanUp
    Type: System.Boolean
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

ModelComponentCollection Class

RemoveAt Overload

Microsoft.AnalysisServices Namespace