语言

Operator.UpdateNotification(String, NotifyMethods) 方法

定义

UpdateNotification 方法为引发的警报配置SQL Server 代理操作员通知。

public void UpdateNotification(string alertName, Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods notifymethod);
member this.UpdateNotification : string * Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods -> unit
Public Sub UpdateNotification (alertName As String, notifymethod As NotifyMethods)

参数

alertName
String
notifymethod
NotifyMethods

适用于