Operator.PagerDays 属性

Gets or sets the days of the week on which SQL Server Agent attempts to notify the referenced operator by pager.

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

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

value = instance.PagerDays

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

属性值

类型:Microsoft.SqlServer.Management.Smo.Agent.WeekDays
A WeekDays object value that specifies the day of the week or the combination of days of the week that SQL Server Agent notifies the operator by pager.

示例

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

请参阅

参考

Operator 类

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

其他资源

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

sp_add_operator (Transact-SQL)