共用方式為


Operator.WeekdayPagerEndTime Property

Gets or sets the latest 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 WeekdayPagerEndTime As TimeSpan
public TimeSpan WeekdayPagerEndTime { get; set; }
public:
property TimeSpan WeekdayPagerEndTime {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_WeekdayPagerEndTime ()

/** @property */
public void set_WeekdayPagerEndTime (TimeSpan value)
public function get WeekdayPagerEndTime () : TimeSpan

public function set WeekdayPagerEndTime (value : TimeSpan)

屬性值

A TimeSpan object value that specifies the latest 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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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

其他資源

Scheduling Automatic Administrative Tasks in SQL Server Agent
自動化管理工作 (SQL Server Agent)
sp_add_operator (Transact-SQL)