Data flow components have different ComponentID's depending on what type of component they are. If I build a custom dataflow component I would want it to have a ComponentID that is different from the standard 'out of the box' components.
Is there some way that I can explicitly set the componentID of a custom component? By default they have the ComponentID of a 'Script Component' (this is also the case for the MS samples including 'RemoveDuplicatesCS'). This does
not seem correct. I have other code that interrogates SSIS packages and does different things depending on what type of component something is. Is the ComponentID the 'best' way to programmatically determine the type of a
given component or is there a 'better way' that is supported by the SSIS object model. If the ComponentID is the best thing to use is there some way I can give my custom components different ComponentID's from the 'Out of the box' script
component. (I have just extensively edited this as first post got truncated and format was mangled - hopefully this might be a bit better).
↧