Поделиться через


Operator.WeekdayPagerStartTime Property

Gets or sets the earliest time of day at which the referenced operator is available to receive alert notification by pager on weekdays.

Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public Property WeekdayPagerStartTime As TimeSpan
public TimeSpan WeekdayPagerStartTime { get; set; }
public:
property TimeSpan WeekdayPagerStartTime {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_WeekdayPagerStartTime ()

/** @property */
public void set_WeekdayPagerStartTime (TimeSpan value)
public function get WeekdayPagerStartTime () : TimeSpan

public function set WeekdayPagerStartTime (value : TimeSpan)

Значение свойства

A TimeSpan object value that specifies the earliest time of day at which the operator can be sent alert notifications by pager.

Замечания

Use the PagerDays property to set the days of the week for which pager notifications will be sent to the referenced operator. When the operator is available for pager notification on weekdays, use the WeekdayPagerStartTime and WeekdayPagerEndTime properties to set hours of availability.

When 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.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Create a Job with Steps and a Schedule in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Operator Class
Operator Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

Другие ресурсы

Scheduling Automatic Administrative Tasks in SQL Server Agent
Автоматизация задач администрирования (агент SQL Server)
sp_add_operator (Transact-SQL)