How to script and modify the variables of Package connection
To iterate and modify the variables used by a package, follow these steps:
- Create a script task.
- Reference CozyRoc.SSISPlus library.
- In the script get reference to a package connection manager.
- Get connection manager InnerObject property and cast it to PackageConnectionManager.
- Get Variables property, which is generic Dictionary type. It contains variable name to variable value pairs. Modify this collection, to setup package connection variables.
Check the sample script below demonstrating how to access package connection variables.
ConnectionManager = Dts.Connections(
) = pac
How to upgrade a script in Script Component Plus from 2005 to 2008
How to upgrade a script from 2005 to 2008 In order for this process to work, you must have both SQL 2005 and 2008 installed side-by-side on the same machine. Most of the scripts published in the public script repository are for SQL 2005. However they ...
How to upgrade a script in Script Task Plus from 2005 to 2008
How to upgrade your script from 2005 to 2008 In order for this process to work, you must have both SQL 2005 and 2008 installed side-by-side on the same machine. Most of the scripts published in the public script repository are for SQL 2005. However ...
Where can I find scripts for the Script Task Plus and Script Component Plus?
Where can I find the documentation for the Script Task Plus?
You can find documentation related to all the COZYROC SSIS+ Component Suite components from the main products page. Specific documentation for the Script Task Plus can be found at the following link. For many of the components you can find ...
How to start
Go to Toolbox and open the Choose Toolbox Items ... dialog. Press the SSIS Control Flow Items tab and select Script Task Plus. Drag Script Task Plus into your control flow package and open the Design Script IDE. Add a reference in the script project ...