This topic has not yet been rated - Rate this topic

CManagedComponentWrapperClass.MapOutputColumn Method

Establishes a relationship between an IDTSOutputColumn100 column and a corresponding IDTSExternalMetadataColumn100 column.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
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.

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.