Operator.SaturdayPagerEndTime Property

 

Applies To: SQL Server 2016 Preview

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

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

Syntax

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public TimeSpan SaturdayPagerEndTime { get; set; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property TimeSpan SaturdayPagerEndTime {
    TimeSpan get();
    void set(TimeSpan value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member SaturdayPagerEndTime : TimeSpan with get, set
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public Property SaturdayPagerEndTime As TimeSpan

Property Value

Type: System.TimeSpan

A TimeSpan object value that specifies the latest 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 Saturday, use the SaturdayPagerStartTime and SaturdayPagerEndTime 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

Legacy Code Example

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Operator Class
Microsoft.SqlServer.Management.Smo.Agent Namespace
Automated Administration Tasks (SQL Server Agent)
sp_add_operator (Transact-SQL)

Return to top