Link to home
Start Free TrialLog in
Avatar of endrec
endrec

asked on

How To Read From SSIS Package Configurations In Script Task Codebehind

Hello,
I have an SSIS package that used to read connection string information from environment variables on the computer the package is running on, however we have started using package configurations and I wanted to know if there is a way to read SSIS Package configurations from the code behind in an SSIS Script Task.
ASKER CERTIFIED SOLUTION
Avatar of mrichmon
mrichmon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You want to read ConnectionString properties from an SSIS configuration file, as opposed to reading actual ConectionString values from connection managers in the executing package? And you don't want to apply the configuration data to the package before it starts?
The configuration files are XML, and if your package has read access to them it can use the .Net Framework XML classes to fetch whatever  information it needs from the files.
SOLUTION
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial