次の方法で共有


RemoveNotification Method

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The RemoveNotification method drops all SQL Server Agent alert notification assignments for an operator.

構文

object
.RemoveNotification(
AlertOrOperatorName
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.
  • AlertOrOperatorName
    String that identifies an existing alert or operator as described in Settings.

Prototype (C/C++)

HRESULT RemoveNotification(
SQLDMO_LPCSTR Value);

Settings

When setting the AlertOrOperator argument of the RemoveNotification method of the Alert object, the string identifies an existing operator by name. When setting the argument for the Operator object method, the string identifies an existing Alert by name.

解説

The AddNotification method associates operators with alerts. Operators designated receive notification messages when an event raising an alert occurs. When an alert is raised, notification can be sent using e-mail, network pop-up message, or pager. The AddNotification method allows the specification of one or more notification mechanisms when operators are assigned notification for an alert.

The RemoveNotification method removes all operator notification mechanisms for an alert. Use the UpdateNotification method to alter notification mechanism without dropping the association between an alert and operator.

Applies To:

Alert Object

Operator Object

参照

関連項目

AddNotification Method
UpdateNotification Method

ヘルプおよび情報

SQL Server 2005 の参考資料の入手