Udostępnij przez


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)

Syntax

'Deklaracja
<DispIdAttribute(34)> _
Public Overridable Function MapOutputColumn ( _
    <InAttribute> lOutputID As Integer, _
    <InAttribute> lOutputColumnID As Integer, _
    <InAttribute> lExternalMetadataColumnID As Integer, _
    <InAttribute> bMatch As Boolean _
) As IDTSExternalMetadataColumn100 Implements IDTSDesigntimeComponent100.MapOutputColumn
[DispIdAttribute(34)] 
public virtual IDTSExternalMetadataColumn100 IDTSDesigntimeComponent100.MapOutputColumn (
    [InAttribute] int lOutputID,
    [InAttribute] int lOutputColumnID,
    [InAttribute] int lExternalMetadataColumnID,
    [InAttribute] bool bMatch
)
[DispIdAttribute(34)] 
public:
virtual IDTSExternalMetadataColumn100^ MapOutputColumn (
    [InAttribute] int lOutputID, 
    [InAttribute] int lOutputColumnID, 
    [InAttribute] int lExternalMetadataColumnID, 
    [InAttribute] bool bMatch
) = IDTSDesigntimeComponent100::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 IDTSOutputColumn100 column should be set to match the IDTSExternalMetadataColumn100 column.

Return Value

The IDTSExternalMetadataColumn100 that is mapped to the output column.

Remarks

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.

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.

Target Platforms

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