GetObjectByID 方法

Retrieves the output column object that has the specified ID from a collection.

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

语法

声明
Function GetObjectByID ( _
    lID As Integer _
) As IDTSOutputColumn100
用法
Dim instance As IDTSOutputColumnCollection100
Dim lID As Integer
Dim returnValue As IDTSOutputColumn100

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

参数

注释

If the collection does not contain an IDTSOutputColumn100 object with the specified ID, an DTS_E_OBJECTIDNOTFOUND exception occurs.