Share via


IDTSOutputCollection100.GetObjectByID(Int32) Method

Definition

Retrieves an IDTSOutput100 object that has the specified ID.

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

Parameters

lID
Int32

The ID of the output to retrieve from the collection.

Returns

The IDTSInput100 object that has the specified ID.

Attributes

Remarks

If an output with the specified ID is not found in the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTNOTFOUND exception is thrown.

Applies to