Export (0) Print
Expand All

Operator.EnumNotifications Method (NotifyMethods, String)

Enumerates a list of notifications made by SQL Server Agent for a specified alert and for a specified notification method.

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

public DataTable EnumNotifications(
	NotifyMethods notifyMethod,
	string alertName
)

Parameters

notifyMethod
Type: Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods
Specifies the notification method.
alertName
Type: String
Specifies the name of the alert.

Return Value

Type: DataTable
A DataTable object value that contains a table of information about the notifications for the specified alert and notification method.

Community Additions

ADD
Show:
© 2015 Microsoft