Operator.WeekdayPagerEndTime 属性

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(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property WeekdayPagerEndTime As TimeSpan 
    Get 
    Set
用法
Dim instance As [Operator]
Dim value As TimeSpan 

value = instance.WeekdayPagerEndTime

instance.WeekdayPagerEndTime = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public TimeSpan WeekdayPagerEndTime { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property TimeSpan WeekdayPagerEndTime {
    TimeSpan get ();
    void set (TimeSpan value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member WeekdayPagerEndTime : TimeSpan with get, set
function get WeekdayPagerEndTime () : TimeSpan 
function set WeekdayPagerEndTime (value : TimeSpan)

属性值

类型:System.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.

示例

在 SQL Server 代理中计划自动管理任务

请参阅

参考

Operator 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间

其他资源

自动执行管理任务(SQL Server 代理)

sp_add_operator (Transact-SQL)