共用方式為


IDTSExternalMetadataColumnCollection100.RemoveObjectByIndex 方法

Removes an IDTSExternalMetadataColumn100 object at the specified index.

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

語法

'宣告
Sub RemoveObjectByIndex ( _
    Index As Object _
)
'用途
Dim instance As IDTSExternalMetadataColumnCollection100 
Dim Index As Object

instance.RemoveObjectByIndex(Index)
void RemoveObjectByIndex(
    Object Index
)
void RemoveObjectByIndex(
    [InAttribute] Object^ Index
)
abstract RemoveObjectByIndex : 
        Index:Object -> unit
function RemoveObjectByIndex(
    Index : Object
)

參數

  • Index
    型別:System.Object
    The location of the column in the collection to remove.

備註

This method removes the IDTSExternalMetadataColumn100 column located at the specified index. If the Index is outside the bounds of the collection, a Microsoft.SqlServer.Dts.HResults.DTS_E_INVALIDINDEX exception occurs.

請參閱

參考

IDTSExternalMetadataColumnCollection100 介面

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