IDTSInputCollection100.GetObjectIndexByID(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Récupère l’index de l’objet IDTSInput100 dans une collection.
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
Paramètres
- lID
- Int32
L’ID de l’objet d’entrée.
Retours
Un entier qui indique la position de l’élément dans l’index.
- Attributs
Remarques
La GetObjectIndexByID méthode récupère l’index dans la collection d’entrée de l’entrée ayant l’ID spécifié par le lID paramètre. Si une entrée avec l’ID spécifié n’est pas trouvée dans la collection, une application de Microsoft. SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE exception survient.