Job.Script 方法

包括受保护的成员
包括继承的成员

Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server Agent job.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 Script() Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server Agent job.
公共方法 Script(ScriptingOptions) Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server Agent job as specified by the scripting options.

页首

请参阅

参考

Job 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间