Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

PipelineComponent.MapOutputColumn Method

Establishes a relationship between an output 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)
[CLSCompliantAttribute(false)]
public virtual IDTSExternalMetadataColumn100 MapOutputColumn(
	int iOutputID,
	int iOutputColumnID,
	int iExternalMetadataColumnID,
	bool bMatch
)

Parameters

iOutputID
Type: System.Int32
The ID of the IDTSOutput100 object.
iOutputColumnID
Type: System.Int32
The ID of the IDTSOutputColumn100 object.
iExternalMetadataColumnID
Type: System.Int32
The ID of the IDTSExternalMetadataColumn100 object.
bMatch
Type: System.Boolean
Indicates whether the columns match.

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 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)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.