ModelComponentCollection.Insert Method (IModelComponent, String, Int32, Boolean)

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

Inserts an IModelComponent in the ModelComponentCollection.

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

Syntax

VB
'Declaration
Protected Sub Insert ( _
    item As IModelComponent, _
    key As String, _
    index As Integer, _
    updateDependents As Boolean _
)
'Usage
Dim item As IModelComponent 
Dim key As String 
Dim index As Integer 
Dim updateDependents As Boolean 

Me.Insert(item, key, index, updateDependents)

Parameters

  • index
    Type: System.Int32
    The zero-based index at which item should be inserted.
  • updateDependents
    Type: System.Boolean
    Indicates whether to update the dependents.

See Also

Reference

ModelComponentCollection Class

Insert Overload

Microsoft.AnalysisServices Namespace