Partilhar via


CManagedComponentWrapperClass.MapOutputColumn Method

Establishes a relationship between an IDTSOutputColumn90 column and a corresponding IDTSExternalMetadataColumn90 column.

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

Syntax

'Declaration
<DispIdAttribute(34)> _
Public Overridable Function MapOutputColumn ( _
    <InAttribute> lOutputID As Integer, _
    <InAttribute> lOutputColumnID As Integer, _
    <InAttribute> lExternalMetadataColumnID As Integer, _
    <InAttribute> bMatch As Boolean _
) As IDTSExternalMetadataColumn90 Implements IDTSDesigntimeComponent90.MapOutputColumn
[DispIdAttribute(34)] 
public virtual IDTSExternalMetadataColumn90 IDTSDesigntimeComponent90.MapOutputColumn (
    [InAttribute] int lOutputID,
    [InAttribute] int lOutputColumnID,
    [InAttribute] int lExternalMetadataColumnID,
    [InAttribute] bool bMatch
)
[DispIdAttribute(34)] 
public:
virtual IDTSExternalMetadataColumn90^ MapOutputColumn (
    [InAttribute] int lOutputID, 
    [InAttribute] int lOutputColumnID, 
    [InAttribute] int lExternalMetadataColumnID, 
    [InAttribute] bool bMatch
) = IDTSDesigntimeComponent90::MapOutputColumn
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • bMatch
    Specifies whether the IDTSOutputColumn90 column should be set to match the IDTSExternalMetadataColumn90 column.

Return Value

The IDTSExternalMetadataColumn90 that is mapped to the output column.

Remarks

Call this method to map an IDTSOutputColumn90 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.

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

CManagedComponentWrapperClass Class
CManagedComponentWrapperClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace