Share via


IDTSDesigntimeComponent100.MapInputColumn(Int32, Int32, Int32) Method

Definition

Establishes a relationship between an input column and a corresponding external metadata column.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSExternalMetadataColumn100 ^ MapInputColumn(int lInputID, int lInputColumnID, int lExternalMetadataColumnID);
[System.Runtime.InteropServices.DispId(33)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100 MapInputColumn (int lInputID, int lInputColumnID, int lExternalMetadataColumnID);
[<System.Runtime.InteropServices.DispId(33)>]
abstract member MapInputColumn : int * int * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
Public Function MapInputColumn (lInputID As Integer, lInputColumnID As Integer, lExternalMetadataColumnID As Integer) As IDTSExternalMetadataColumn100

Parameters

lInputID
Int32

The ID of the IDTSInput100 object.

lInputColumnID
Int32

The ID of the IDTSInputColumn100 object.

lExternalMetadataColumnID
Int32

The ID of the IDTSExternalMetadataColumn100 object.

Returns

The IDTSExternalMetadataColumn100 object that the input column is mapped to.

Attributes

Remarks

This method is called to map an input column to a column in the ExternalMetadataColumnCollection of the input. When you are developing a custom data flow component, you override this method to ensure that the input column and the output column match, and to indicate that you want to allow the mapping to occur. For more information about working with external metadata columns, see Implementing External Metadata.

Applies to