AddNotification Method

SQLServer.Alert Object

Description

Adds a new operator to the list of operators to notify when this Alert fires.

Visual Basic

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

C++

HRESULT pAlert->AddNotification (
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_addnotification