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
- index
Type: System.Int32
The zero-based index of the IModelComponent to remove.
- cleanUp
Type: System.Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.