Condividi tramite


SaturdayPagerStartTime Property

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa caratteristica in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

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);

Nota

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.

Osservazioni

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: