Operator.AddNotification(String, NotifyMethods) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
AddNotification 方法將營運商與警示連結起來。 指定的操作員在事件觸發警報時會收到通知訊息。
public void AddNotification(string alertName, Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods notifymethod);
member this.AddNotification : string * Microsoft.SqlServer.Management.Smo.Agent.NotifyMethods -> unit
Public Sub AddNotification (alertName As String, notifymethod As NotifyMethods)
參數
- alertName
- String
- notifymethod
- NotifyMethods