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
'Declaration
Public Overridable Function MapOutputColumn ( _
lOutputID As Integer, _
lOutputColumnID As Integer, _
lExternalMetadataColumnID As Integer, _
bMatch As Boolean _
) As IDTSExternalMetadataColumn100
'Usage
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
Parameters
- lOutputID
Type: System.Int32
The ID of the IDTSOutput100 object.
- lOutputColumnID
Type: System.Int32
The ID of the IDTSOutputColumn100 object.
- lExternalMetadataColumnID
Type: System.Int32
The ID of the IDTSExternalMetadataColumn100 object.
- bMatch
Type: System.Boolean
Specifies whether the IDTSOutputColumn100 column should be set to match the IDTSExternalMetadataColumn100 column.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 that is mapped to the output column.
Implements
IDTSDesigntimeComponent100.MapOutputColumn(Int32, Int32, Int32, Boolean)
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.