This topic has not yet been rated - Rate this topic

IDTSDesigntimeComponent100.MapInputColumn Method

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
IDTSExternalMetadataColumn100 MapInputColumn(
	int lInputID,
	int lInputColumnID,
	int lExternalMetadataColumnID
)

Parameters

lInputID
Type: System.Int32
The ID of the IDTSInput100 object.
lInputColumnID
Type: System.Int32
The ID of the IDTSInputColumn100 object.
lExternalMetadataColumnID
Type: System.Int32
The ID of the IDTSExternalMetadataColumn100 object.

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Unmapping columns
To unmap a column, specify 0 for the lExternalMetadataColumnID parameter.