CManagedComponentWrapperClass.MapOutputColumn Method
SQL Server 2008 R2
Establishes a relationship between an IDTSOutputColumn100 column and a corresponding IDTSExternalMetadataColumn100 column.
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
public virtual 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.
- bMatch
- Type: System.Boolean
Specifies whether the IDTSOutputColumn100 column should be set to match the IDTSExternalMetadataColumn100 column.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100The IDTSExternalMetadataColumn100 that is mapped to the output column.
Implements
IDTSDesigntimeComponent100.MapOutputColumn(Int32, Int32, Int32, Boolean)Call this method to map an IDTSOutputColumn100 column to a column in the ExternalMetadataColumnCollection of the output. If the bMatch parameter is true, and the data type properties of the two columns differ, the component will modify the data type properties of the output column to match the properties of the external metadata columns.
