IDTSInputCollection100.NewAt(Int32) 方法

定義

在集合中指定的索引處加入新的輸入物件。

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInput100 ^ NewAt(int lIndex);
[System.Runtime.InteropServices.DispId(15)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100 NewAt (int lIndex);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member NewAt : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
Public Function NewAt (lIndex As Integer) As IDTSInput100

參數

lIndex
Int32

集合中要加入新輸入的位置。

傳回

IDTSInput100

新建立的 IDTSInput100 物件。

屬性

備註

方法會在 NewAt 集合中的指定位置建立新的輸入物件,並傳回新建立的輸入物件。 如果 Index 參數超出集合的界限範圍,就會發生 Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX 例外狀況。

適用於