UpdateNotification Method

SQLServer.Alert Object

Description

Updates the notification method of an operator that is already on the list of operators to notify when this Alert fires.

Visual Basic

Alert.UpdateNotification (
[OperatorName :=] strOperator,
[NotifyMethod :=] tNotify );

C++

HRESULT pAlert->UpdateNotification (
SQLOLE_LPCSTR
strOperator,
SQLOLE_NOTIFY_TYPE
tNotify );

Elements

Element Type Description

strOperator String Operator to notify when this alert fires
tNotify SQLOLE_NOTIFY_TYPE Type of notification to use

Reference

sp_updatealert, sp_updatenotification