共用方式為


NamedComponentCollection.Insert 方法 (Int32, ModelComponent)

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Inserts a ModelComponent in the NamedComponentCollection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Protected Friend Overrides Sub Insert ( _
    index As Integer, _
    item As ModelComponent _
)
'用途
Dim index As Integer 
Dim item As ModelComponent 

Me.Insert(index, item)
protected internal override void Insert(
    int index,
    ModelComponent item
)
protected public:
virtual void Insert(
    int index, 
    ModelComponent^ item
) override
abstract Insert : 
        index:int * 
        item:ModelComponent -> unit  
override Insert : 
        index:int * 
        item:ModelComponent -> unit
override function Insert(
    index : int, 
    item : ModelComponent
)

參數

  • index
    型別:System.Int32
    The zero-based index at which item should be inserted. 

請參閱

參考

NamedComponentCollection 類別

Insert 多載

Microsoft.AnalysisServices 命名空間