ModelComponentCollection.Insert Method (IModelComponent, String, Int32)
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
)
protected:
void Insert(
IModelComponent^ item,
String^ key,
int index
)
member Insert :
item:IModelComponent *
key:string *
index:int -> unit
Protected Sub Insert (
item As IModelComponent,
key As String,
index As Integer
)
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.
See Also
Insert Overload
ModelComponentCollection Class
Microsoft.AnalysisServices Namespace
Return to top