IDTSRuntimeConnectionCollection100.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 IDTSRuntimeConnection100 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’identifiant de la connexion à l’exécution.
Retours
L’emplacement de l’élément dans l’index.
- Attributs
Remarques
La GetObjectIndexByID méthode récupère l’index dans la collection de la connexion à l’exécution avec l’ID spécifié. Si un objet avec l’ID spécifié n’est pas trouvé dans la collection, un code Microsoft. SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE exception survient.