Operator.UpdateNotification(String, NotifyMethods) 方法

定義

UpdateNotification 方法會設定 SQL Server Agent 操作員通知以應對所發出的警報。

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

適用於