Dela via


IDTSExternalMetadataColumnCollection100.RemoveObjectByIndex Method

Removes an IDTSExternalMetadataColumn100 object at the specified index.

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

Syntax

'Declaration
Sub RemoveObjectByIndex ( _
    Index As Object _
)
'Usage
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
)

Parameters

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

Remarks

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.