IDTSInputCollection100.GetObjectIndexByID(Int32) Metodo

Definizione

Recupera l'indice dell'oggetto IDTSInput100 in una raccolta.

public:
 int GetObjectIndexByID(int lID);
[System.Runtime.InteropServices.DispId(21)]
public int GetObjectIndexByID (int lID);
[<System.Runtime.InteropServices.DispId(21)>]
abstract member GetObjectIndexByID : int -> int
Public Function GetObjectIndexByID (lID As Integer) As Integer

Parametri

lID
Int32

ID dell'oggetto di input.

Restituisce

Intero che indica la posizione dell'elemento nell'indice.

Attributi

Commenti

Il GetObjectIndexByID metodo recupera l'indice nella raccolta di input dell'input con l'ID specificato dal lID parametro. Se un input con l'ID specificato non viene trovato nella raccolta, si verifica un'eccezione Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE.

Si applica a