共用方式為


CManagedComponentWrapperClass.InsertOutputColumnAt Method

Definition

Creates a new IDTSOutputColumn100 object and inserts it into the IDTSOutputColumnCollection100 of the component.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSOutputColumn100 ^ InsertOutputColumnAt(int lOutputID, int lOutputColumnIndex, System::String ^ bstrName, System::String ^ bstrDescription) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSDesigntimeComponent100::InsertOutputColumnAt;
[System.Runtime.InteropServices.DispId(13)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutputColumn100 InsertOutputColumnAt (int lOutputID, int lOutputColumnIndex, string bstrName, string bstrDescription);
[<System.Runtime.InteropServices.DispId(13)>]
abstract member InsertOutputColumnAt : int * int * string * string -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutputColumn100
override this.InsertOutputColumnAt : int * int * string * string -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSOutputColumn100
Public Overridable Function InsertOutputColumnAt (lOutputID As Integer, lOutputColumnIndex As Integer, bstrName As String, bstrDescription As String) As IDTSOutputColumn100

Parameters

lOutputID
Int32

Specifies the IDTSOutput100 object to add the column to.

lOutputColumnIndex
Int32

Specifies the location in the IDTSOutputColumnCollection100 to insert the new IDTSOutputColumn100.

bstrName
String

Specifies the value assigned to the Name property of the new IDTSOutputColumn100.

bstrDescription
String

Specifies the value assigned to the Description property of the new IDTSOutputColumn100.

Returns

The newly created IDTSOutputColumn100 object.

Implements

Attributes

Remarks

Call this method to create a new IDTSOutputColumn100 object in the IDTSOutputColumnCollection100 specified by the lOutputColumnIndex parameter. The Name and Description properties of the new IDTSOutputColumn100 are initialized to the values specified by the bstrName and bstrDescription parameters.

Applies to