Alert.Drop Method

Removes the alert.

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

Syntax

'Declaration
Public Sub Drop
'Usage
Dim instance As Alert

instance.Drop()
public void Drop()
public:
virtual void Drop() sealed
abstract Drop : unit -> unit  
override Drop : unit -> unit
public final function Drop()

Implements

IDroppable.Drop()

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

Alert Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_delete_alert (Transact-SQL)