I'm writing an SSIS Transformation component. I would like to allow the user to select which input fields he would like to pass-through to the output.
I thought that the SetUsageType() function would control this - it takes an enumeration (DT_READONLY, DT_READWRITE, DT_IGNORED). DT_READONLY is for input-only fields, DT_READWRITE is for input/output fields, and DT_IGNORED is to not carry the field from input to output at all.
However, in my tests, it seems that a synchronous operation will output all of the input fields along with any output fields that I've added. Is this always the case? Is there a way of suppressing certain input fields from being transferred to the output?
It looks like I can do this with an asynchronous, but I was hoping for synchronous.