Alert.UpdateNotification(String, NotifyMethods) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
UpdateNotification 方法會設定 SQL Server Agent 操作員通知以應對所發出的警報。
public void UpdateNotification(string operatorName, Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods notifymethod);
member this.UpdateNotification : string * Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods -> unit
Public Sub UpdateNotification (operatorName As String, notifymethod As NotifyMethods)
參數
- operatorName
- String
- notifymethod
- NotifyMethods