MapInputColumn-Methode
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
Function MapInputColumn ( _
lInputID As Integer, _
lInputColumnID As Integer, _
lExternalMetadataColumnID As Integer _
) As IDTSExternalMetadataColumn100
'Usage
Dim instance As IDTSDesigntimeComponent100
Dim lInputID As Integer
Dim lInputColumnID As Integer
Dim lExternalMetadataColumnID As Integer
Dim returnValue As IDTSExternalMetadataColumn100
returnValue = instance.MapInputColumn(lInputID, _
lInputColumnID, lExternalMetadataColumnID)
IDTSExternalMetadataColumn100 MapInputColumn(
int lInputID,
int lInputColumnID,
int lExternalMetadataColumnID
)
IDTSExternalMetadataColumn100^ MapInputColumn(
[InAttribute] int lInputID,
[InAttribute] int lInputColumnID,
[InAttribute] int lExternalMetadataColumnID
)
abstract MapInputColumn :
lInputID:int *
lInputColumnID:int *
lExternalMetadataColumnID:int -> IDTSExternalMetadataColumn100
function MapInputColumn(
lInputID : int,
lInputColumnID : int,
lExternalMetadataColumnID : int
) : IDTSExternalMetadataColumn100
Parameter
- lInputID
Typ: System. . :: . .Int32
The ID of the IDTSInput100 object.
- lInputColumnID
Typ: System. . :: . .Int32
The ID of the IDTSInputColumn100 object.
- lExternalMetadataColumnID
Typ: System. . :: . .Int32
The ID of the IDTSExternalMetadataColumn100 object.
Rückgabewert
Typ: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 object that the input column is mapped to.
Hinweise
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 Implementieren externer Metadaten.