共用方式為


PipelineComponent.InsertOutputColumnAt Method

Creates a new IDTSOutputColumn90 object and inserts it into the IDTSOutputColumnCollection90. This method is not CLS-compliant.

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
<CLSCompliantAttribute(False)> _
Public Overridable Function InsertOutputColumnAt ( _
    outputID As Integer, _
    outputColumnIndex As Integer, _
    name As String, _
    description As String _
) As IDTSOutputColumn90
[CLSCompliantAttribute(false)] 
public virtual IDTSOutputColumn90 InsertOutputColumnAt (
    int outputID,
    int outputColumnIndex,
    string name,
    string description
)
[CLSCompliantAttribute(false)] 
public:
virtual IDTSOutputColumn90^ InsertOutputColumnAt (
    int outputID, 
    int outputColumnIndex, 
    String^ name, 
    String^ description
)
/** @attribute CLSCompliantAttribute(false) */ 
public IDTSOutputColumn90 InsertOutputColumnAt (
    int outputID, 
    int outputColumnIndex, 
    String name, 
    String description
)
CLSCompliantAttribute(false) 
public function InsertOutputColumnAt (
    outputID : int, 
    outputColumnIndex : int, 
    name : String, 
    description : String
) : IDTSOutputColumn90

參數

  • outputID
    Specifies the IDTSOutput90 object to add the column to.
  • name
    Specifies the value assigned to the Name property of the new IDTSOutputColumn90.
  • description
    Specifies the value assigned to the Description property of the new IDTSOutputColumn90.

傳回值

The newly created IDTSOutputColumn90 object.

備註

This method creates a new IDTSOutputColumn90 object in the IDTSOutputColumnCollection90 specified by the outputColumnIndex parameter by calling the NewAt method. The Name and Description properties of the new IDTSOutputColumn90 object are then set to the values specified by the name and description parameters.

The Advanced Editor lets users add IDTSOutputColumn90 objects to components. If this is not desirable for your component, you should override this method and throw an exception.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace