Share via


IDTSExternalMetadataColumnCollection100.RemoveObjectByID Method

Removes 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
Sub RemoveObjectByID ( _
    lID As Integer _
)
'Usage
Dim instance As IDTSExternalMetadataColumnCollection100 
Dim lID As Integer

instance.RemoveObjectByID(lID)
void RemoveObjectByID(
    int lID
)
void RemoveObjectByID(
    [InAttribute] int lID
)
abstract RemoveObjectByID : 
        lID:int -> unit
function RemoveObjectByID(
    lID : int
)

Parameters

  • lID
    Type: System.Int32
    The ID of the column to remove from the collection.

Remarks

If an IDTSExternalMetadataColumn100 column with the specified ID does not exist, a DTS_E_ELEMENTNOTFOUND exception occurs.

See Also

Reference

IDTSExternalMetadataColumnCollection100 Interface

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace