Metodo MapInputColumn
Establishes a relationship between an input column and a corresponding external metadata column.
Questa API non è conforme a CLS.
Spazio dei nomi: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
Sintassi
'Dichiarazione
<CLSCompliantAttribute(False)> _
Public Overridable Function MapInputColumn ( _
iInputID As Integer, _
iInputColumnID As Integer, _
iExternalMetadataColumnID As Integer _
) As IDTSExternalMetadataColumn100
'Utilizzo
Dim instance As PipelineComponent
Dim iInputID As Integer
Dim iInputColumnID As Integer
Dim iExternalMetadataColumnID As Integer
Dim returnValue As IDTSExternalMetadataColumn100
returnValue = instance.MapInputColumn(iInputID, _
iInputColumnID, iExternalMetadataColumnID)
[CLSCompliantAttribute(false)]
public virtual IDTSExternalMetadataColumn100 MapInputColumn(
int iInputID,
int iInputColumnID,
int iExternalMetadataColumnID
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSExternalMetadataColumn100^ MapInputColumn(
int iInputID,
int iInputColumnID,
int iExternalMetadataColumnID
)
[<CLSCompliantAttribute(false)>]
abstract MapInputColumn :
iInputID:int *
iInputColumnID:int *
iExternalMetadataColumnID:int -> IDTSExternalMetadataColumn100
[<CLSCompliantAttribute(false)>]
override MapInputColumn :
iInputID:int *
iInputColumnID:int *
iExternalMetadataColumnID:int -> IDTSExternalMetadataColumn100
public function MapInputColumn(
iInputID : int,
iInputColumnID : int,
iExternalMetadataColumnID : int
) : IDTSExternalMetadataColumn100
Parametri
- iInputID
Tipo: System. . :: . .Int32
The ID of the IDTSInput100 object.
- iInputColumnID
Tipo: System. . :: . .Int32
The ID of the IDTSInputColumn100 object.
- iExternalMetadataColumnID
Tipo: System. . :: . .Int32
The ID of the IDTSExternalMetadataColumn100 object.
Valore restituito
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSExternalMetadataColumn100
The IDTSExternalMetadataColumn100 object that the input column is mapped to.
Osservazioni
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 that you want to allow the mapping to occur.
For more information about working with external metadata columns, see Implementazione di metadati esterni.
Vedere anche