Metoda IDTSInputCollection100.GetObjectIndexByID
Pobiera indeks IDTSInput100 obiekt kolekcja.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Zestaw: Microsoft.SqlServer.DTSPipelineWrap (w Microsoft.SqlServer.DTSPipelineWrap.dll)
Składnia
'Deklaracja
Function GetObjectIndexByID ( _
lID As Integer _
) As Integer
'Użycie
Dim instance As IDTSInputCollection100
Dim lID As Integer
Dim returnValue As Integer
returnValue = instance.GetObjectIndexByID(lID)
int GetObjectIndexByID(
int lID
)
int GetObjectIndexByID(
[InAttribute] int lID
)
abstract GetObjectIndexByID :
lID:int -> int
function GetObjectIndexByID(
lID : int
) : int
Parametry
- lID
Typ: System.Int32
Identyfikator obiektu wejściowego.
Wartość zwracana
Typ: System.Int32
Całkowitą , wskazuje lokalizację element w indeksie.
Uwagi
GetObjectIndexByID Metoda pobiera indeks w wejściowy kolekcja danych wejściowych, posiadające określony przez identyfikator lID parametru.Jeśli dane wejściowe z określonym Identyfikatorem nie znajduje się kolekcja, wystąpi wyjątek Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE.
Zobacz także