Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Creating Script Task programatically from C# code in SQL Server 2012

$
0
0
Hello Everyone,

General question is: How can I add a script to Script Task from C# code in SQL Server 2012?

We are using C# to dynamically create SSIS packages. Right now we are working on generating them for SQL Server 2012. Our previous implementation (for SQL Server 2008 R2) was calling VSTATaskScriptingEngine methods: InitNewScript, AddProjectReference, AddCodeFile, SaveScriptToStorage, CloseIDE, Build and ShowDesigner. Sadly it seems these methods had been removed in SQL Server 2012 libraries.

Can anybody point me to a solution to this problem (any reference or direct solution will do)? I've searched for an answer for a while, but so far without any success.

Thanks in advance.

Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>