共用方式為


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 Agent 排程自動管理工作

請參閱

參考

Alert 類別

Alert 多載

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

其他資源

自動化管理工作 (SQL Server Agent)

sp_add_alert (Transact-SQL)