共用方式為


IDTSRuntimeConnectionCollection100.GetObjectByID(Int32) Method

Definition

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

Parameters

lID
Int32

Returns

The IDTSRuntimeConnection100 object with the specified ID.

Attributes

Remarks

The GetObjectByID method retrieves the run-time connection object with the ID matching the ID parameter. If an input does not exist with this ID, a DTS_E_OBJECTIDNOTFOUND exception occurs.

Applies to