Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道我们可以使用 SSMS 来生成 SQL Server 作业的脚本。现在我想用 C# 来做这个,怎么做?
Smo:http: //msdn.microsoft.com/en-us/library/ms202375.aspx
简单的 :
http://www.sqldbadiaries.com/2010/11/08/generate-script-of-all-jobs/