IDTSInputCollection100.NewAt(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在集合中指定的索引處加入新的輸入物件。
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 物件。
- 屬性
備註
方法會在 NewAt 集合中的指定位置建立新的輸入物件,並傳回新建立的輸入物件。 如果 Index 參數超出集合的界限範圍,就會發生 Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX 例外狀況。