Partilhar via


IDTSVirtualInputColumnCollection90.SetIndex Method

Changes the location of an IDTSVirtualInputColumn90 object in a collection.

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

Syntax

'Declaration
<DispIdAttribute(19)> _
Sub SetIndex ( _
    <InAttribute> lOldIndex As Integer, _
    <InAttribute> lNewIndex As Integer _
)
[DispIdAttribute(19)] 
void SetIndex (
    [InAttribute] int lOldIndex,
    [InAttribute] int lNewIndex
)
[DispIdAttribute(19)] 
void SetIndex (
    [InAttribute] int lOldIndex, 
    [InAttribute] int lNewIndex
)
/** @attribute DispIdAttribute(19) */ 
void SetIndex (
    /** @attribute InAttribute() */ int lOldIndex, 
    /** @attribute InAttribute() */ int lNewIndex
)
DispIdAttribute(19) 
function SetIndex (
    lOldIndex : int, 
    lNewIndex : int
)

Parameters

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

Remarks

The IDTSVirtualInputColumnCollection90 is filled during a call to the GetVirtualInput method and is based on the IDTSOutputColumnCollection90 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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSVirtualInputColumnCollection90 Interface
IDTSVirtualInputColumnCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace