TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

NotifyMethods Enumeration

 

The NotifyMethods enumeration contains values that specify the method used to notify operators in an alert or a job. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum NotifyMethods

Member nameDescription
NetSend

The notification is sent over the network as an instant message to a computer and the message is displayed on the screen.

None

There is no notification method.

NotifyAll

All three notification methods are used; e-mail, pager, and net send.

NotifyEmail

The notification is sent by e-mail.

Pager

The notification is sent to a pager service by e-mail and the pager service send the message to the operator's pager.

The NotifyMethods enumeration class is served by the AddNotifications method, UpdateNotifications method, and EnumNotifications method for the Operator object and the Alert object.

Return to top
Show:
© 2016 Microsoft