Share via


Operator.SundayPagerStartTime Property

Gets or sets the earliest time of day at which the referenced operator is available to receive alert notification by pager on Sundays.

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

Syntax

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

value = instance.SundayPagerStartTime

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

Property Value

Type: System.TimeSpan
A TimeSpan object value that specifies the earliest time of day at which the operator can be sent alert notifications by pager.

Remarks

Use the PagerDays property to set the days of the week for which pager notifications will be sent to the referenced operator. When the operator is available for pager notification on Sunday, use the SundayPagerStartTime and SundayPagerEndTime properties to set hours of availability.

When the end page time is less than the start page time for an operator, the interval is calculated so that paging occurs through 12:00 A.M.

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)