Condividi tramite


Metodo MapOutputColumn

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

Spazio dei nomi:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

'Dichiarazione
Public Overridable Function MapOutputColumn ( _
    lOutputID As Integer, _
    lOutputColumnID As Integer, _
    lExternalMetadataColumnID As Integer, _
    bMatch As Boolean _
) As IDTSExternalMetadataColumn100
'Utilizzo
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

Parametri

Implementa

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

Osservazioni

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.