다음을 통해 공유


IDTSObjectModel100_GetObjectByID 메서드

Retrieves an object that is contained in a data flow task.

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

구문

‘선언
Public Overridable Function IDTSObjectModel100_GetObjectByID ( _
    lID As Integer _
) As IDTSObject100
‘사용 방법
Dim instance As MainPipeClass
Dim lID As Integer
Dim returnValue As IDTSObject100

returnValue = instance.IDTSObjectModel100_GetObjectByID(lID)
public virtual IDTSObject100 IDTSObjectModel100_GetObjectByID(
    int lID
)
public:
virtual IDTSObject100^ IDTSObjectModel100_GetObjectByID(
    [InAttribute] int lID
)
abstract IDTSObjectModel100_GetObjectByID : 
        lID:int -> IDTSObject100 
override IDTSObjectModel100_GetObjectByID : 
        lID:int -> IDTSObject100 
public function IDTSObjectModel100_GetObjectByID(
    lID : int
) : IDTSObject100

매개 변수

반환 값

유형: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSObject100
The IDTSObject100 interface of the object that is retrieved.

구현

IDTSObjectModel100. . :: . .GetObjectByID(Int32)

주의

If an object with the specified ID is not found, an DTS_E_OBJECTIDNOTFOUND exception is thrown.