You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SQL Server
Does anyone know of any good websites/resources that could help me figure out how to alter a DTS package's Transform Data Task's properties (specifically changing the destination table) using c#. Thanks
Jason Cumberland
unread,
Apr 25, 2006, 8:36:17 PM4/25/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SQL-S...@googlegroups.com
I put a C# class together to do this that you can call from whatever. It makes a new package with one data pump instead of altering an existing one, but it could be changed pretty easily. I've attached the source, but here's a link.
http://qcumberland.com/download/DynamicDataFlow.cs
If you want to call this from a script task you will need to put the file in the %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727directory as well as add it to the GAC.
Here are some of the resources I used to put it together, but searching for the object names pretty much does the trick: