AlertSystem.NotificationMethod 속성

Gets or sets the notification method used to notify the fail-safe operator.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NotificationMethod As NotifyMethods 
    Get 
    Set
‘사용 방법
Dim instance As AlertSystem 
Dim value As NotifyMethods 

value = instance.NotificationMethod

instance.NotificationMethod = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public NotifyMethods NotificationMethod { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property NotifyMethods NotificationMethod {
    NotifyMethods get ();
    void set (NotifyMethods value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member NotificationMethod : NotifyMethods with get, set
function get NotificationMethod () : NotifyMethods 
function set NotificationMethod (value : NotifyMethods)

속성 값

유형: Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods
A NotifyMethods object value that specifies the notification method used to notify the fail-safe operator.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

AlertSystem 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_add_alert(Transact-SQL)