简体   繁体   中英

How to Execute SSIS package using c# code by passing Excel Connection Manager as a variable?

我有一个带有2个连接管理器的SSIS包,一个与数据库连接,一个是Excel Connection Manager,我想通过动态传递Excel Connection Manager和数据库连接来使用c#代码运行SSIS包。我需要做的所有步骤都是为此吗?

You need to call the dtexec.exe program and pass the connection managers in the same call. For examples, please refer to BOL here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM