Partager via


WeekdayPagerEndTime Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The WeekdayPagerEndTime property specifies the latest time of day at which the referenced operator is available to receive alert notification by pager.

Syntaxe

object.WeekdayPagerEndTime [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    The time of day specified using a Date value

Data Type

Date

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetWeekdayPagerEndTime(LPLONG pRetVal);
HRESULT SetWeekdayPagerEndTime(long NewValue);

[!REMARQUE]

When SQL Distributed Management Objects (SQL-DMO) uses a scaled long integer to represent a time, the integer is built as a sum of the hour scaled by 10000, the minute scaled by 100, and the seconds. The time value uses a 24-hour clock. For example, the time 1:03:09 P.M. is represented by the long integer value 130309.

Notes

Use the PagerDays property to set the days of the week for which pager notifications are sent to the referenced operator. If the operator is available for pager notification on Monday, Tuesday, Wednesday, Thursday, or Friday, use the WeekdayPagerStartTime and WeekdayPagerEndTime properties to set hours of availability for those days.

If 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. Configure Saturday, Sunday, and weekday paging intervals with this in mind. For an operator on duty from 6:00 P.M. to 6:00 A.M. on Sunday, Monday, and Tuesday, set SundayPagerStartTime to 6:00 P.M. and SundayPagerEndTime to 12:00 A.M. Set WeekdayPagerStartTime to 6:00 P.M. also, but set WeekdayPagerEndTime to 6:00 A.M.

Applies To: