IDTSInputCollection100.GetObjectIndexByID(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取集合中 IDTSInput100 物件的索引。
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
參數
- lID
- Int32
輸入物件的識別碼。
傳回
整數,表示索引中專案的位置。
- 屬性
備註
GetObjectIndexByID方法會在輸入的輸入集合中,使用參數所指定的識別碼來抓取索引 lID 。 如果在集合中找不到具有指定識別碼的輸入,就會發生 Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE 例外狀況。