Freigeben über


NotificationMethod-Eigenschaft

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(SfcPropertyFlags.Standalone)> _
Public Property NotificationMethod As NotifyMethods
    Get
    Set
'Usage
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)

Eigenschaftswert

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