Propriété AlertSystem.NotificationMethod

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NotificationMethod As NotifyMethods 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Exemples

Planification des tâches administratives automatiques dans l'Agent SQL Server

Voir aussi

Référence

AlertSystem Classe

Espace de noms Microsoft.SqlServer.Management.Smo.Agent

Autres ressources

Tâches d'administration automatisée (Agent SQL Server)

sp_add_alert (Transact-SQL)