共用方式為


IDTSComponentMetaData100.RemoveInvalidInputColumns 方法

Removes invalid IDTSInputColumn100 objects from an IDTSInputColumnCollection100.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Sub RemoveInvalidInputColumns
'用途
Dim instance As IDTSComponentMetaData100

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

備註

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.

請參閱

參考

IDTSComponentMetaData100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間