共用方式為


GetObjectByID 方法

Gets an IDTSExternalMetadataColumn100 object that has the specified ID.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Function GetObjectByID ( _
    lID As Integer _
) As IDTSExternalMetadataColumn100
'用途
Dim instance As IDTSExternalMetadataColumnCollection100
Dim lID As Integer
Dim returnValue As IDTSExternalMetadataColumn100

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

參數

傳回值

型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 object having the specified value for its ID property.

備註

If the collection does not contain an IDTSExternalMetadataColumn100 object with the specified ID property value, a DTS_E_OBJECTIDNOTFOUND exception occurs.