次の方法で共有


MinimumRetries Property

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

The MinimumRetries property specifies filtering by the number of times SQL Server Agent attempted to execute a scheduled job prior to a successful execution.

構文

object.MinimumRetries [= value]

Parts

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

  • value
    A long integer

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetMinimumRetries(LPLONG pRetVal);
HRESULT SetMinimumRetries(long NewValue);

説明

Set the MinimumRetries property to filter the job execution history list based on failed execution attempts. For example, set the MinimumRetries property to 1 to list only those jobs that did not successfully execute on the first attempt.

If the MinimumRetries property is 0, the property is not used as part of job execution history filtering.

Applies To: