Compartilhar via


Método IDTSVirtualInputColumnCollection100.SetIndex

Changes the location of an IDTSVirtualInputColumn100 object in a collection.

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

Sintaxe

'Declaração
Sub SetIndex ( _
    lOldIndex As Integer, _
    lNewIndex As Integer _
)
'Uso
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
)

Parâmetros

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

Comentários

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.

Consulte também

Referência

IDTSVirtualInputColumnCollection100 Interface

Namespace Microsoft.SqlServer.Dts.Pipeline.Wrapper