SaturdayPagerStartTime Property

后续版本的 Microsoft SQL Server 将删除该功能。 请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The SaturdayPagerStartTime specifies the earliest time of day at which the referenced operator is available to receive alert notification by pager.

语法

object.SaturdayPagerStartTime [= 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 GetSaturdayPagerStartTime(LPLONG pRetVal);
HRESULT SetSaturdayPagerStartTime(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 will be sent to the referenced operator. If the operator is available for pager notification on Saturday, use the SaturdayPagerStartTime and SaturdayPagerEndTime properties to set hours of availability.

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.

To enable an operator for page notification for Saturday night and Sunday morning

  1. Set PagerDays, including SQLDMOWeek_Saturday and SQLDMOWeek_Sunday.

  2. Set SaturdayPagerStartTime to the time of day at which notification by page should begin on Saturday. For example, use 20:00:00 to begin paging at 8:00 P.M.

  3. Set SundayPagerEndTime to the time of day at which notification by page should stop on Sunday. For example, use 8:00:00 to end paging at 8:00 A.M.

  4. If applicable, set SaturdayPagerEndTime and SundayPagerStartTime to values controlling end of paging initiated on Friday and start of paging for Sunday night and Monday morning.

Applies To: