IDTSVirtualInputColumnCollection90.SetIndex Method

Changes the location of an IDTSVirtualInputColumn90 object in a collection.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
<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
)

參數

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

備註

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.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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