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

'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)
protected void Insert(
    IModelComponent item,
    string key,
    int index,
    bool updateDependents
)
protected:
void Insert(
    IModelComponent^ item, 
    String^ key, 
    int index, 
    bool updateDependents
)
member Insert : 
        item:IModelComponent * 
        key:string * 
        index:int * 
        updateDependents:bool -> unit
protected function Insert(
    item : IModelComponent, 
    key : String, 
    index : int, 
    updateDependents : boolean
)

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