Share via


IDTSInputCollection100.GetObjectByID(Int32) Method

Definition

Retrieves an IDTSInput100 object from a IDTSInputCollection100 collection.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInput100 ^ GetObjectByID(int lID);
[System.Runtime.InteropServices.DispId(20)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100 GetObjectByID (int lID);
[<System.Runtime.InteropServices.DispId(20)>]
abstract member GetObjectByID : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
Public Function GetObjectByID (lID As Integer) As IDTSInput100

Parameters

lID
Int32

The ID of the IDTSInput100 to retrieve from the IDTSInputCollection100 collection.

Returns

The IDTSInput100 object that has the ID specified by the InputID parameter.

Attributes

Remarks

The GetObjectByID method retrieves the input object with the ID matching the InputID parameter. If an input does not exist with this ID, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTIDNOTFOUND exception occurs.

Applies to