AlertSystem.FailSafeOperator Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FailSafeOperator As String 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

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.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

AlertSystem Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_alert (Transact-SQL)