共用方式為


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: