Alert.AddNotification(String, NotifyMethods) Méthode

Définition

La méthode AddNotification associe des opérateurs à des alertes. Les opérateurs désignés reçoivent des messages de notification lorsqu’un événement qui déclenche l’alerte se produit.

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)

Paramètres

operatorName
String
notifymethod
NotifyMethods

S’applique à