Share via


Operator.PagerDays Property

Gets or sets the days of the week on which SQL Server Agent attempts to notify the referenced operator by pager.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PagerDays As WeekDays 
    Get 
    Set
'Usage
Dim instance As [Operator]
Dim value As WeekDays 

value = instance.PagerDays

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.WeekDays
A WeekDays object value that specifies the day of the week or the combination of days of the week that SQL Server Agent notifies the operator by pager.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

Operator Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_add_operator (Transact-SQL)