다음을 통해 공유


IDTSRuntimeConnectionCollection100.GetObjectByID 메서드

Retrieves an IDTSRuntimeConnection100 object from a collection.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리:  Microsoft.SqlServer.DTSPipelineWrap(Microsoft.SqlServer.DTSPipelineWrap.dll)

구문

‘선언
Function GetObjectByID ( _
    lID As Integer _
) As IDTSRuntimeConnection100
‘사용 방법
Dim instance As IDTSRuntimeConnectionCollection100 
Dim lID As Integer 
Dim returnValue As IDTSRuntimeConnection100 

returnValue = instance.GetObjectByID(lID)
IDTSRuntimeConnection100 GetObjectByID(
    int lID
)
IDTSRuntimeConnection100^ GetObjectByID(
    [InAttribute] int lID
)
abstract GetObjectByID : 
        lID:int -> IDTSRuntimeConnection100
function GetObjectByID(
    lID : int
) : IDTSRuntimeConnection100

매개 변수

반환 값

유형: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
The IDTSRuntimeConnection100 object with the specified ID.

주의

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 Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTIDNOTFOUND exception occurs.

참고 항목

참조

IDTSRuntimeConnectionCollection100 인터페이스

Microsoft.SqlServer.Dts.Pipeline.Wrapper 네임스페이스