Поделиться через


Метод MapOutputColumn

Establishes a relationship between an IDTSOutputColumn100 column and a corresponding IDTSExternalMetadataColumn100 column.

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка:  Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)

Синтаксис

'Декларация
Public Overridable Function MapOutputColumn ( _
    lOutputID As Integer, _
    lOutputColumnID As Integer, _
    lExternalMetadataColumnID As Integer, _
    bMatch As Boolean _
) As IDTSExternalMetadataColumn100
'Применение
Dim instance As CManagedComponentWrapperClass
Dim lOutputID As Integer
Dim lOutputColumnID As Integer
Dim lExternalMetadataColumnID As Integer
Dim bMatch As Boolean
Dim returnValue As IDTSExternalMetadataColumn100

returnValue = instance.MapOutputColumn(lOutputID, _
    lOutputColumnID, lExternalMetadataColumnID, _
    bMatch)
public virtual IDTSExternalMetadataColumn100 MapOutputColumn(
    int lOutputID,
    int lOutputColumnID,
    int lExternalMetadataColumnID,
    bool bMatch
)
public:
virtual IDTSExternalMetadataColumn100^ MapOutputColumn(
    [InAttribute] int lOutputID, 
    [InAttribute] int lOutputColumnID, 
    [InAttribute] int lExternalMetadataColumnID, 
    [InAttribute] bool bMatch
)
abstract MapOutputColumn : 
        lOutputID:int * 
        lOutputColumnID:int * 
        lExternalMetadataColumnID:int * 
        bMatch:bool -> IDTSExternalMetadataColumn100 
override MapOutputColumn : 
        lOutputID:int * 
        lOutputColumnID:int * 
        lExternalMetadataColumnID:int * 
        bMatch:bool -> IDTSExternalMetadataColumn100 
public function MapOutputColumn(
    lOutputID : int, 
    lOutputColumnID : int, 
    lExternalMetadataColumnID : int, 
    bMatch : boolean
) : IDTSExternalMetadataColumn100

Параметры

Возвращаемое значение

Тип Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 that is mapped to the output column.

Реализует интерфейс

IDTSDesigntimeComponent100. . :: . .MapOutputColumn(Int32, Int32, Int32, Boolean)

Замечания

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.