This code has a few functions that help automate some common SSIS tasks including:
- Deploying an ispac file from an SSIS project "build" (deploySSISProject)
- Creating folders in SSIS running on a SQL Server (createSSISFolder)
- Creating an SSIS Environment (createSSISEnvironment)
- Creating SSIS Environment variables (createEnvironmentVariable)
- Adding a reference from an SSIS project to an SSIS Environment (addEnvironmentReferenceToSSISProject)
- Mapping an SSIS Project Parameter to an SSIS Environement Variable (setProjectParameterToEnvironmentVariable)
This would be used in a workflow such as:
- Create a folder in SSIS to hold my project.
- Create one or more environments that will hold the configuration options for my project.
- Setup the environment variables to store the configured values for my project.
- Deploy the project to the folder that was created.
- Set the project to reference the environment.
- Map the project parameters to the environment variables.
These steps when done manually can be a pain. These scripts help to ease that pain by making the process repeatable. If you take a look at the sample workflow, it takes an xml configuration file and uses the functions to automate the SSIS operations.