Partager via


Propriété AlertSystem.FailSafeOperator

Gets or sets the operator to notify when no other operator is defined or available on the alert notification.

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 FailSafeOperator As String 
    Get 
    Set
'Utilisation
Dim instance As AlertSystem 
Dim value As String 

value = instance.FailSafeOperator

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

Valeur de propriété

Type : System.String
A String value that specifies the fail-safe operator.

Notes

The specified operator receives notifications when an alert does not have an operator assigned to receive a notification during the time that the alert was raised, or when an attempt to notify an assigned operator fails.

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)