共用方式為


AlertSystem.Script Method

Generates a Transact-SQL script that can be used to re-create the set of information represented by the AlertSystem object.

備註

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

多載清單

名稱 Description
AlertSystem.Script ()
Generates a Transact-SQL script that can be used to re-create the set of information represented by the AlertSystem object.
AlertSystem.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the set of information represented by the AlertSystem object and as specified by the scripting options.

請參閱

參考

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

其他資源

Scripting
Scheduling Automatic Administrative Tasks in SQL Server Agent
自動化管理工作 (SQL Server Agent)
sp_add_alert (Transact-SQL)