Alert.AddNotification Method (String, NotifyMethods)

 

Designates an operator that receives a notification message when the alert is raised.

Namespace:   Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void AddNotification(
	string operatorName,
	NotifyMethods notifymethod
)

Parameters

operatorName
Type: System.String

A String value that specifies the name of the operator.

notifymethod
Type: Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods

A NotifyMethods object value that specifies the notification method.

Return to top
Show: