Udostępnij za pośrednictwem


IDTSDesigntimeComponent90.MapInputColumn Method

Establishes a relationship between an input 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(33)> _
Function MapInputColumn ( _
    <InAttribute> lInputID As Integer, _
    <InAttribute> lInputColumnID As Integer, _
    <InAttribute> lExternalMetadataColumnID As Integer _
) As IDTSExternalMetadataColumn90
[DispIdAttribute(33)] 
IDTSExternalMetadataColumn90 MapInputColumn (
    [InAttribute] int lInputID,
    [InAttribute] int lInputColumnID,
    [InAttribute] int lExternalMetadataColumnID
)
[DispIdAttribute(33)] 
IDTSExternalMetadataColumn90^ MapInputColumn (
    [InAttribute] int lInputID, 
    [InAttribute] int lInputColumnID, 
    [InAttribute] int lExternalMetadataColumnID
)
/** @attribute DispIdAttribute(33) */ 
IDTSExternalMetadataColumn90 MapInputColumn (
    /** @attribute InAttribute() */ int lInputID, 
    /** @attribute InAttribute() */ int lInputColumnID, 
    /** @attribute InAttribute() */ int lExternalMetadataColumnID
)
DispIdAttribute(33) 
function MapInputColumn (
    lInputID : int, 
    lInputColumnID : int, 
    lExternalMetadataColumnID : int
) : IDTSExternalMetadataColumn90

Parameters

Return Value

The IDTSExternalMetadataColumn90 object that the input column is mapped to.

Remarks

This method is called to map an input column to a column in the ExternalMetadataColumnCollection of the input. When you are developing a custom data flow component, you override this method to ensure that the input column 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