Alert.EnumNotifications Method (NotifyMethods, String)


Enumerates a list of notification methods defined on the alert that are restricted to the specified notification methods and a specified operator.

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

public DataTable EnumNotifications(
	NotifyMethods notifyMethod,
	string operatorName


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

A NotifyMethods object value that specifies the notification method.

Type: System.String

A string value that specifies the name of the operator.

Return Value

Type: System.Data.DataTable

A DataTable object value that contains a table of information about the notifications defined on the alert.

Return to top