Compartilhar via


Operator.AddNotification(String, NotifyMethods) Method

Definition

The AddNotification method associates operators with alerts. Operators designated receive notification messages when an event raising the alert occurs.

public void AddNotification (string alertName, Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods notifymethod);
member this.AddNotification : string * Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods -> unit
Public Sub AddNotification (alertName As String, notifymethod As NotifyMethods)

Parameters

alertName
String
notifymethod
NotifyMethods

Applies to