Share via


Alert Constructor

Initializes a new instance of the Alert class.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New Alert()
public Alert()
public:
Alert()
new : unit -> Alert
public function Alert()

Remarks

The default constructor initializes any fields to their default values.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

Alert Class

Alert Overload

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_alert (Transact-SQL)