WeekdayPagerEndTime Property
В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется.
The WeekdayPagerEndTime property specifies the latest time of day at which the referenced operator is available to receive alert notification by pager.
Синтаксис
object.WeekdayPagerEndTime [= value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
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);
Примечание |
---|
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. |
Замечания
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.