试图找出问题所在
(1) 尝试修正报价:
"E:\Program Files\Microsoft SQL Server\110\DTS\binn\dtexec" /Server
{myDBServer} /ISServer "\SSISDB\mySSIS.dtsx" /Par
"$Project::SMTPServer";"Smtp.my.smtp-server"
或者
"E:\Program Files\Microsoft SQL Server\110\DTS\binn\dtexec" /Server
{myDBServer} /ISServer "\SSISDB\mySSIS.dtsx" /Par
"$Project::SMTPServer";"\"Smtp.my.smtp-server\""
(2) 或不带引号:
"E:\Program Files\Microsoft SQL Server\110\DTS\binn\dtexec" /Server
{myDBServer} /ISServer "\SSISDB\mySSIS.dtsx" /Par
"$Project::SMTPServer";Smtp.my.smtp-server
(3)或尝试使用/SET
选项:( 不确定这是否适用于这种情况)
"E:\Program Files\Microsoft SQL Server\110\DTS\binn\dtexec" /Server
{myDBServer} /ISServer "\SSISDB\mySSIS.dtsx" /SET
\Package.Variables[$Project::SMTPServer];\""Smtp.my.smtp-server"\"
相关链接