次の方法で共有


SQLMessageID Property

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

The SQLMessageID property identifies a Microsoft SQL Server error message by message number.

構文

object
.SQLMessageID [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A long integer that identifies a SQL Server error message

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSQLMessageID(LPLONG pRetVal);
HRESULT SetSQLMessageID(long NewValue);

解説

Set SQLMessageID to filter for jobs that, as part of processing, generate the error number specified. Set SQLMessageID to -1 to stop filtering by error message raised.

Applies To:

JobHistoryFilter Object