Operator.AddNotification(String, NotifyMethods) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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