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.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
語法
'宣告
<FlagsAttribute> _
Public Enumeration NotifyMethods
[FlagsAttribute]
public enum NotifyMethods
[FlagsAttribute]
public enum class NotifyMethods
/** @attribute FlagsAttribute() */
public enum NotifyMethods
FlagsAttribute
public enum NotifyMethods
Members
Member name | Description |
---|---|
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.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。