Sdílet prostřednictvím


IDTSComponentMetaData100.RemoveInvalidInputColumns Method

Removes invalid IDTSInputColumn100 objects from an IDTSInputColumnCollection100.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Sub RemoveInvalidInputColumns
'Usage
Dim instance As IDTSComponentMetaData100

instance.RemoveInvalidInputColumns()
void RemoveInvalidInputColumns()
void RemoveInvalidInputColumns()
abstract RemoveInvalidInputColumns : unit -> unit 
function RemoveInvalidInputColumns()

Remarks

This method removes the IDTSInputColumn100 columns whose LineageID property does not match the LineageID property of a column in the IDTSVirtualInput100 of the IDTSInput100.

A component could perform this work directly by calling the GetVirtualInput method of each of the input objects in its InputCollection and then checking each column in the IDTSVirtualInputColumnCollection100 against those in the IDTSInputColumnCollection100.