Adds a new alert to the list of alerts that notify this operator when the alert fires.
Operator.AddNotification (
[AlertName :=] strAlert,
[NotifyMethod :=] tNotify )
HRESULT pOperator->AddNotification (
SQLOLE_LPCSTR strAlert,
SQLOLE_NOTIFY_TYPE tNotify );
Element | Type | Description |
---|
strAlert | String | Alert that will notify this Operator when the alert fires |
tNotify | SQLOLE_NOTIFY_TYPE | Type of notification to use |
sp_addnotification