I'm trying to triggering a DTS package from C# but no luck so far. I have a DTS package which I override some of the parameters FolderImportSource and FolderImportCompleted. My idea is something like
RunDtsPackage("DTSX NAME", new Dictionary<string, object> {
{ "FolderImportSource", @"C:\SourceFiles\ReadyToProcess\" },
{ "FolderImportCompleted", @"C:\SourceFiles\Processed\" },
{ "FolderExportTarget", @"C:\TargetFiles\Output\" }
RunDtsPackage should execute the following stored procs on the SSISDB database:
- create_execution
- set_execution_parameter_value
- start_execution
I've checked this msdn link where I found examples of how to call these procs by using the βTipβ shown
Any idea?
Thank you