Can you run an SSIS task from .net?

后端 未结 2 1381
夕颜
夕颜 2021-02-06 00:07

I have scheduled sql agent task which runs an SSIS package. I want to be able to run the SSIS package from .net. Is there a way to either run the SSIS package directly or at lea

2条回答
  •  暖寄归人
    2021-02-06 00:46

    Yes. Look into Microsoft.SqlServer.Dts.Runtime namespace. The Package class will provide the methods to run it.

提交回复
热议问题