0
正在努力研究如何將參數映射添加到SSIS SQL任務。使用C#添加綁定到SSIS包的參數
so far I am able to create my SQL Task, and set a few properties.
TaskHost taskhost = sequence1.Executables.Add("STOCK:SQLTask") as TaskHost;
taskhost.Name = myTable.ToString();
taskhost.Properties["Connection"].SetValue(taskhost, connMgrOleDb.Name);
taskhost.Properties["SqlStatementSource"].SetValue(taskhost, "EXEC sp_GET_S_" + myTable.ToString() +"?, ?");
// need to add input parameter binding
//任何想法??
謝謝你的作品 – Tempest