共用方式為


IDTSRuntimeConnectionCollection100.GetObjectIndexByID(Int32) Method

Definition

Retrieves the index of the IDTSRuntimeConnection100 object in a 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

Parameters

lID
Int32

The ID of the run-time connection.

Returns

The location of the item in the index.

Attributes

Remarks

The GetObjectIndexByID method retrieves the index in the collection of the run-time connection with the specified ID. If an object with the specified ID is not found in the collection, a Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE exception occurs.

Applies to