Share via


Alert.Script Method

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

Remarks

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

Overload List

Name Description
Alert.Script ()
Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server Agent alert.
Alert.Script (ScriptingOptions)
Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server Agent alert as specified by the scripting options.

See Also

Reference

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

Other Resources

Scheduling Automatic Administrative Tasks in SQL Server Agent
Automating Administrative Tasks (SQL Server Agent)
sp_help_alert (Transact-SQL)