IncludeEventDescription Property
この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。
The IncludeEventDescription property indicates response notifications that receive alert error text when a SQL Server Agent builds a notification message for an alert.
構文
object
.IncludeEventDescription [=value]
Parts
- object
An expression that evaluates to an object in the Applies To list.
- value
A long integer that specifies a response type as described in Settings.
Settings
Constant | Value | Description |
---|---|---|
SQLDMONotify_All |
7 |
Notification is made by e-mail sent to the pager address and by a network pop-up message. |
SQLDMONotify_Email |
1 |
Notification is made by e-mail sent to the operator e-mail address. |
SQLDMONotify_NetSend |
4 |
Notification is made by net send 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. |
Data Type
Long, enumerated
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetIncludeEventDescription(SQLDMO_NOTIFY_TYPE *pRetVal);
HRESULT SetIncludeEventDescription(SQLDMO_NOTIFY_TYPE NewValue);
解説
SQL Server Agent builds a notification message to send in response to a raised alert. For each notification method (e-mail, pager, or net send SQL Server Agent can build a different message. To include alert error text in a SQL Server Agent-built message, set the IncludeEventDescription property of the referring Alert object.
To specify that more than one notification method should include error text, combine values by using an OR logical operator.
Applies To:
参照
関連項目
Notification Method Constants (SQLDMO_NOTIFY_TYPE)
NotificationMessage Property