Метод IDTSDesigntimeComponent100.MapOutputColumn
Establishes a relationship between an output column and a corresponding external metadata column.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)
Синтаксис
'Декларация
Function MapOutputColumn ( _
lOutputID As Integer, _
lOutputColumnID As Integer, _
lExternalMetadataColumnID As Integer, _
bMatch As Boolean _
) As IDTSExternalMetadataColumn100
'Применение
Dim instance As IDTSDesigntimeComponent100
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)
IDTSExternalMetadataColumn100 MapOutputColumn(
int lOutputID,
int lOutputColumnID,
int lExternalMetadataColumnID,
bool bMatch
)
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
function MapOutputColumn(
lOutputID : int,
lOutputColumnID : int,
lExternalMetadataColumnID : int,
bMatch : boolean
) : IDTSExternalMetadataColumn100
Параметры
- lOutputID
Тип: System.Int32
The ID of the IDTSOutput100 object.
- lOutputColumnID
Тип: System.Int32
The ID of the IDTSOutputColumn100 object.
- lExternalMetadataColumnID
Тип: System.Int32
The ID of the IDTSExternalMetadataColumn100 object that is linked to the output column.
- bMatch
Тип: System.Boolean
Indicates whether the output column and external metadata columns match.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 that is mapped to the output column.
Замечания
This method is called to map an output column to a column in the ExternalMetadataColumnCollection of the output. When you are developing a custom data flow component, you override this method, to ensure that the external columns 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 Реализация внешних метаданных.