NotificationMethod Property (SQL-DMO)

The NotificationMethod property specifies the method used when notifying a fail-safe operator of a raised alert.

Applies To

AlertSystem Object

Syntax

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

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.

Remarks

The NotificationMethod property is a bit-packed long value. To specify more than a single notification method, combine enumerated values by using an Or.

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDeleteLevel(SQLDMO_NOTIFY_TYPE* pRetVal);

HRESULT SetDeleteLevel(SQLDMO_NOTIFY_TYPE NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.