Share via


IDTSVirtualInputColumnCollection100.SetIndex Method

Changes the location of an IDTSVirtualInputColumn100 object in a collection.

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

Syntax

'Declaration
Sub SetIndex ( _
    lOldIndex As Integer, _
    lNewIndex As Integer _
)
'Usage
Dim instance As IDTSVirtualInputColumnCollection100 
Dim lOldIndex As Integer 
Dim lNewIndex As Integer

instance.SetIndex(lOldIndex, lNewIndex)
void SetIndex(
    int lOldIndex,
    int lNewIndex
)
void SetIndex(
    [InAttribute] int lOldIndex, 
    [InAttribute] int lNewIndex
)
abstract SetIndex : 
        lOldIndex:int * 
        lNewIndex:int -> unit
function SetIndex(
    lOldIndex : int, 
    lNewIndex : int
)

Parameters

  • lOldIndex
    Type: System.Int32
    The current location of the column in the zero-based collection.
  • lNewIndex
    Type: System.Int32
    The new location for the column in the collection.

Remarks

The IDTSVirtualInputColumnCollection100 is filled during a call to the GetVirtualInput method and is based on the IDTSOutputColumnCollection100 of the upstream component. Because the collection is dynamically populated based on the output columns of upstream components, which may change over time, this method has no impact on the collection and should not be used.

See Also

Reference

IDTSVirtualInputColumnCollection100 Interface

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace