IDTSExternalMetadataColumnCollection100.RemoveObjectByID 方法

Removes an IDTSExternalMetadataColumn100 object that has the specified ID.

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

语法

声明
Sub RemoveObjectByID ( _
    lID As Integer _
)
用法
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
)

参数

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

注释

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

请参阅

参考

IDTSExternalMetadataColumnCollection100 接口

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