JobServer.AlertSystem 属性

The AlertSystem object stores information that applies to all the alerts defined on SQL Server Agent.

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

语法

声明
<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)> _
Public ReadOnly Property AlertSystem As AlertSystem 
    Get
用法
Dim instance As JobServer 
Dim value As AlertSystem 

value = instance.AlertSystem
[SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)]
public AlertSystem AlertSystem { get; }
[SfcObjectAttribute(SfcObjectRelationship::Object, SfcObjectCardinality::One)]
public:
property AlertSystem^ AlertSystem {
    AlertSystem^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.Object, SfcObjectCardinality.One)>]
member AlertSystem : AlertSystem
function get AlertSystem () : AlertSystem

属性值

类型:Microsoft.SqlServer.Management.Smo.Agent.AlertSystem
An AlertSystem object value that stores information about all the alerts defined on SQL Server Agent.

示例

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

请参阅

参考

JobServer 类

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

其他资源

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

SQL Server 代理存储过程 (Transact-SQL)