共用方式為


NotifyMethods 列舉

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.

此列舉有一個允許其成員值為位元組合的 FlagsAttribute 屬性。

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
<FlagsAttribute> _
Public Enumeration NotifyMethods
'用途
Dim instance As NotifyMethods
[FlagsAttribute]
public enum NotifyMethods
[FlagsAttribute]
public enum class NotifyMethods
[<FlagsAttribute>]
type NotifyMethods
public enum NotifyMethods

成員

成員名稱 說明
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.

請參閱

參考

Microsoft.SqlServer.Management.Smo.Agent 命名空間