다음을 통해 공유


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.dll의 Microsoft.SqlServer.SqlEnum

구문

‘선언
<FlagsAttribute> _
Public Enumeration NotifyMethods
‘사용 방법
Dim instance As NotifyMethods
[FlagsAttribute]
public enum NotifyMethods
[FlagsAttribute]
public enum class NotifyMethods
[<FlagsAttribute>]
type NotifyMethods
public enum NotifyMethods

멤버

멤버 이름 설명
None There is no notification method.
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.
NetSend The notification is sent over the network as an instant message to a computer and the message is displayed on the screen.
NotifyAll All three notification methods are used; e-mail, pager, and net send.

주의

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