Freigeben über


GetObjectByID-Methode

Gets an IDTSExternalMetadataColumn100 object that has the specified ID.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Function GetObjectByID ( _
    lID As Integer _
) As IDTSExternalMetadataColumn100
'Usage
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

Parameter

Rückgabewert

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

Hinweise

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