This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The WeekdayPagerEndTime property specifies the latest time of day at which the referenced operator is available to receive alert notification by pager.
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.