Поделиться через


Метод AddNotification

Designates an operator that receives a notification message when the alert is raised.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub AddNotification ( _
    operatorName As String, _
    notifymethod As NotifyMethods _
)
'Применение
Dim instance As Alert
Dim operatorName As String
Dim notifymethod As NotifyMethods

instance.AddNotification(operatorName, _
    notifymethod)
public void AddNotification(
    string operatorName,
    NotifyMethods notifymethod
)
public:
void AddNotification(
    String^ operatorName, 
    NotifyMethods notifymethod
)
member AddNotification : 
        operatorName:string * 
        notifymethod:NotifyMethods -> unit 
public function AddNotification(
    operatorName : String, 
    notifymethod : NotifyMethods
)

Параметры