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

 

Applies To: SQL Server (starting with 2016)

Inserts an IModelComponent in the ModelComponentCollection.

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

Syntax

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 Sub Insert (
    item As IModelComponent,
    key As String,
    index As Integer,
    updateDependents As 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

Insert Overload
ModelComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top