IDTSDesigntimeComponent100.MapOutputColumn Method
SQL Server 2008 R2
Establishes a relationship between an output column and a corresponding external metadata column.
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
IDTSExternalMetadataColumn100 MapOutputColumn( int lOutputID, int lOutputColumnID, int lExternalMetadataColumnID, bool bMatch )
Parameters
- lOutputID
- Type: System.Int32
The ID of the IDTSOutput100 object.
- lOutputColumnID
- Type: System.Int32
The ID of the IDTSOutputColumn100 object.
- lExternalMetadataColumnID
- Type: System.Int32
The ID of the IDTSExternalMetadataColumn100 object that is linked to the output column.
- bMatch
- Type: System.Boolean
Indicates whether the output column and external metadata columns match.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100The IDTSExternalMetadataColumn100 that is mapped to the output column.
This method is called to map an output column to a column in the ExternalMetadataColumnCollection of the output. When you are developing a custom data flow component, you override this method, to ensure that the external columns 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.