The NotificationMethod property specifies the method used when notifying a fail-safe operator of a raised alert.
object.NotificationMethod [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Long integer specifying an alert notification method as described in Settings |
Value | Description |
---|---|
SQLDMONotify_None | No notification method specified. Notifications are not sent to any designated fail-safe operator. |
SQLDMONotify_Email | Use e-mail to notify a fail-safe operator. |
SQLDMONotify_Pager | Use a pager message to notify a fail-safe operator. |
SQLDMONotify_NetSend | Send notifications by using the messaging facility of the network software. |
SQLDMONotify_All | Use all methods to contact the fail-safe operator. |
The NotificationMethod property is a bit-packed long value. To specify more than a single notification method, combine enumerated values by using an Or.
Long, enumerated
Read/write
HRESULT GetDeleteLevel(SQLDMO_NOTIFY_TYPE* pRetVal);
HRESULT SetDeleteLevel(SQLDMO_NOTIFY_TYPE NewValue);