IDTSInputCollection100.GetObjectByID 方法

Retrieves an IDTSInput100 object from a IDTSInputCollection100 collection.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Function GetObjectByID ( _
    lID As Integer _
) As IDTSInput100
用法
Dim instance As IDTSInputCollection100 
Dim lID As Integer 
Dim returnValue As IDTSInput100 

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

参数

返回值

类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
The IDTSInput100 object that has the ID specified by the InputID parameter.

注释

The GetObjectByID method retrieves the input object with the ID matching the InputID parameter. If an input does not exist with this ID, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_OBJECTIDNOTFOUND exception occurs.

请参阅

参考

IDTSInputCollection100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间