Compartilhar via


Alert.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 operatorName, Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods notifymethod);
member this.AddNotification : string * Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods -> unit
Public Sub AddNotification (operatorName As String, notifymethod As NotifyMethods)

Parameters

operatorName
String
notifymethod
NotifyMethods

Applies to