UpdateNotification Method

SQLServer.Operator Object

Description

Updates the notification method of an alert that is already on the list of alerts that notify this Operator when the alert fires.

Visual Basic

Operator.UpdateNotification (
[AlertName :=] strAlert,
[NotifyMethod :=] tNotify )

C++

HRESULT pOperator->UpdateNotification (
SQLOLE_LPCSTR
strAlert,
SQLOLE_NOTIFY_TYPE
tNotify );

Elements

Element Type Description

strAlert String Alert that will notify this Operator when the alert fires
tNotify SQLOLE_NOTIFY_TYPE Type of notification to use

Reference

sp_updateoperator, sp_updatenotification