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
item
Type: Microsoft.AnalysisServices.IModelComponentThe item to insert.
key
Type: System.StringThe key.
index
Type: System.Int32The zero-based index at which item should be inserted.
updateDependents
Type: System.BooleanIndicates whether to update the dependents.
See Also
Insert Overload
ModelComponentCollection Class
Microsoft.AnalysisServices Namespace
Return to top