Alert 构造函数

Initializes a new instance of the Alert class.

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

语法

声明
Public Sub New
用法
Dim instance As New Alert()
public Alert()
public:
Alert()
new : unit -> Alert
public function Alert()

注释

The default constructor initializes any fields to their default values.

示例

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

请参阅

参考

Alert 类

Alert 重载

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

其他资源

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

sp_add_alert (Transact-SQL)