Share via


AlertSystem.NotificationMethod Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property NotificationMethod As NotifyMethods
    Get
    Set
'Usage
Dim instance As AlertSystem
Dim value As NotifyMethods

value = instance.NotificationMethod

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

Property Value

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