The NotificationMethod property specifies the method used when notifying a fail-safe operator of a raised alert.
object.NotificationMethod [= value]
object
Expression that evaluates to an object in the Applies To list
value
Long integer that specifies an alert notification method as described in Settings
Long, enumerated
Read/write
HRESULT GetNotificationMethod(SQLDMO_NOTIFY_TYPE *pRetVal);
HRESULT SetNotificationMethod(SQLDMO_NOTIFY_TYPE NewValue);
Constant | Value | Description |
---|---|---|
SQLDMONotify_All | 7 | Notification by e-mail, e-mail sent to the pager address, and network pop-up message |
SQLDMONotify_Email | 1 | Notification by e-mail sent to the operator e-mail address |
SQLDMONotify_NetSend | 4 | Notification by network pop-up message posted to the operator network address |
SQLDMONotify_None | 0 | No notification method specified for the referenced operator |
SQLDMONotify_Pager | 2 | Notification by e-mail sent to the operator pager address |
The NotificationMethod property is a bit-packed long value. To specify more than a single notification method, combine enumerated values using an OR logical operator.