CategoryBase.Script Method

Generates a Transact-SQL script that can be used to re-create the job category, the operator category, or the alert category.

备注

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

重载列表

名称 Description
CategoryBase.Script ()
Generates a Transact-SQL script that can be used to re-create the job category, the operator category, or the alert category.
CategoryBase.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the job category, the operator category, or the alert category as specified by the scripting options.

请参阅

参考

CategoryBase Class
CategoryBase Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

其他资源

Scripting
Scheduling Automatic Administrative Tasks in SQL Server Agent
自动执行管理任务(SQL Server 代理)