共用方式為


IDTSOutputCollection100.GetObjectByID(Int32) Method

Definition

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

Parameters

lID
Int32

Returns

The IDTSOutput100 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