Alert.UpdateNotification(String, NotifyMethods) Method

Definition

The UpdateNotification method configures SQL Server Agent operator notification for alerts raised.

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

Parameters

operatorName
String
notifymethod
NotifyMethods

Applies to