Méthode IDTSVirtualInputColumnCollection100.SetIndex
Changes the location of an IDTSVirtualInputColumn100 object in a collection.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntaxe
'Déclaration
Sub SetIndex ( _
lOldIndex As Integer, _
lNewIndex As Integer _
)
'Utilisation
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
)
Paramètres
- 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.
Notes
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.