NotificationMethod Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

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

구문

object.NotificationMethod [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list.

  • value
    A long integer that specifies an alert notification method as described in Settings.

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetNotificationMethod(SQLDMO_NOTIFY_TYPE *pRetVal);
HRESULT SetNotificationMethod(SQLDMO_NOTIFY_TYPE NewValue);

Settings

Constant

Value

Description

SQLDMONotify_All

7

Notification is made by e-mail, e-mail is sent to the pager address and a network pop-up message is sent.

SQLDMONotify_Email

1

Notification is made by e-mail sent to the operator e-mail address.

SQLDMONotify_NetSend

4

Notification is made by network pop-up message posted to the operator network address.

SQLDMONotify_None

0

No notification method is specified for the referenced operator.

SQLDMONotify_Pager

2

Notification is made 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.

Applies To: