Samples for creating SSIS packages programmatically
This is an index post for the series of posts with examples on how to create packages programmatically. Creating and adding tasks to a control flow is pretty straightforward, but programmatically adding data flow components can be tricky due to the interaction with the native COM APIs. Each post will provide a simple scenario for using each component.
All samples are done using SQL Server 2008, but will also work with 2005 with minor code modifications.
I’ll continue to update this post as more samples are added. Please post in the comments if there are specific data flow components you’d like to see.
- Create a package with a data flow task
- OleDB source and OleDB destination
- ADO.Net Source
- Row Count Transform
For an end to end solution, check out the Package Generation sample available on codeplex.
Other resources
- Building Packages Programmatically
- Saving a Package Programmatically
- Running and Managing Packages Programmatically
Published Tuesday, December 30, 2008 1:00 PM by mmasson
SSIS Team Blog : Samples for creating SSIS packages programmatically
No comments:
Post a Comment