Metoda IDTSInputCollection100.NewAt
Dodaje nowy obiekt wejściowy pod określonym indeksem kolekcja.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Zestaw: Microsoft.SqlServer.DTSPipelineWrap (w Microsoft.SqlServer.DTSPipelineWrap.dll)
Składnia
'Deklaracja
Function NewAt ( _
lIndex As Integer _
) As IDTSInput100
'Użycie
Dim instance As IDTSInputCollection100
Dim lIndex As Integer
Dim returnValue As IDTSInput100
returnValue = instance.NewAt(lIndex)
IDTSInput100 NewAt(
int lIndex
)
IDTSInput100^ NewAt(
[InAttribute] int lIndex
)
abstract NewAt :
lIndex:int -> IDTSInput100
function NewAt(
lIndex : int
) : IDTSInput100
Parametry
- lIndex
Typ: System.Int32
Lokalizacja kolekcja, aby dodać nowe dane wejściowe.
Wartość zwracana
Typ: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
Nowo utworzony IDTSInput100 obiektu.
Uwagi
NewAt Metoda tworzy nowy obiekt wejściowy w określonej lokalizacji kolekcja i zwraca nowo utworzonego obiektu wejściowego.Jeśli Index parametr jest poza granicami kolekcja, występuje wyjątek Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX.
Zobacz także