次の方法で共有


PageLevel Property

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

The PageLevel property controls SQL Server Agent operator page notification on job completion.

構文

object
.PageLevel [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list.
  • value
    A long integer that specifies a completion status as described in Settings.

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetPageLevel(SQLDMO_COMPLETION_TYPE* pRetVal);
HRESULT SetPageLevel(SQLDMO_COMPLETION_TYPE NewValue);

Settings

Constant Value Description

SQLDMOComp_All

6

Pages the operator regardless of success or failure.

SQLDMOComp_Always

3

Pages the operator regardless of success or failure.

SQLDMOComp_Failure

2

Pages the operator when job fails to complete successfully.

SQLDMOComp_None

0

Ignores any completion status. It does not page the operator.

SQLDMOComp_Success

1

Pages the operator on successful completion.

SQLDMOComp_Unknown

4096

The value is not valid.

解説

SQL Server Agent can send notification of job completion using e-mail, network pop-up message, or pager.

To enable a job for pager notification

  1. Set the OperatorToPage property to the name of an existing SQL Server Agent operator.

  2. Set the PageLevel property to control Microsoft SQL Server network pop-up message notification based on job completion.

Applies To:

Job Object

参照

関連項目

OperatorToPage Property

ヘルプおよび情報

SQL Server 2005 の参考資料の入手