Hi,
I'm developing tool for generating SSIS packages.
I need to add ScriptTask to package programatically and set its script code.
There is no problem for adding package, but I don't know how to set its script code, programatically.
Can anyone help me?
Thanks in advance, Borko
The trick is to use ScriptTaskCodeProvider class, PutSourceCode method.
Monicker argument is build from ScriptTask.VsaProjectName property.
It is usefull to analyze valid package XML during this action.
Regards, Borko
No comments:
Post a Comment