Jaa


IDTSDesigntimeComponent90.MapOutputColumn Method

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

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Declaration
<DispIdAttribute(34)> _
Function MapOutputColumn ( _
    <InAttribute> lOutputID As Integer, _
    <InAttribute> lOutputColumnID As Integer, _
    <InAttribute> lExternalMetadataColumnID As Integer, _
    <InAttribute> bMatch As Boolean _
) As IDTSExternalMetadataColumn90
[DispIdAttribute(34)] 
IDTSExternalMetadataColumn90 MapOutputColumn (
    [InAttribute] int lOutputID,
    [InAttribute] int lOutputColumnID,
    [InAttribute] int lExternalMetadataColumnID,
    [InAttribute] bool bMatch
)
[DispIdAttribute(34)] 
IDTSExternalMetadataColumn90^ MapOutputColumn (
    [InAttribute] int lOutputID, 
    [InAttribute] int lOutputColumnID, 
    [InAttribute] int lExternalMetadataColumnID, 
    [InAttribute] bool bMatch
)
/** @attribute DispIdAttribute(34) */ 
IDTSExternalMetadataColumn90 MapOutputColumn (
    /** @attribute InAttribute() */ int lOutputID, 
    /** @attribute InAttribute() */ int lOutputColumnID, 
    /** @attribute InAttribute() */ int lExternalMetadataColumnID, 
    /** @attribute InAttribute() */ boolean bMatch
)
DispIdAttribute(34) 
function MapOutputColumn (
    lOutputID : int, 
    lOutputColumnID : int, 
    lExternalMetadataColumnID : int, 
    bMatch : boolean
) : IDTSExternalMetadataColumn90

Parameters

  • bMatch
    Indicates whether the output column and external metadata columns match.

Return Value

The IDTSExternalMetadataColumn90 that is mapped to the output column.

Remarks

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSDesigntimeComponent90 Interface
IDTSDesigntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace