PipelineComponent.MapInputColumn Method (Int32, Int32, Int32)


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

This API is not CLS-compliant.

Namespace:   Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

public virtual IDTSExternalMetadataColumn100 MapInputColumn(
	int iInputID,
	int iInputColumnID,
	int iExternalMetadataColumnID


Type: System.Int32

The ID of the IDTSInput100 object.

Type: System.Int32

The ID of the IDTSInputColumn100 object.

Type: System.Int32

The ID of the IDTSExternalMetadataColumn100 object.

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100

The IDTSExternalMetadataColumn100 object that the input column is mapped to.

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 that you want to allow the mapping to occur.

For more information about working with external metadata columns, see Implementing External Metadata.

Return to top