次の方法で共有


PendingInstructions Property

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

The PendingInstructions property returns a count of SQL Server Agent target server maintenance tasks awaiting download by the target server.

構文

object.PendingInstructions

Parts

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

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetPendingInstructions(LPLONG pRetVal);

説明

An instance of SQL Server acting as the master server for multiserver administration initiates tasks that create, modify, and delete jobs and job steps for target servers. Other tasks start or stop running jobs, coordinate polling, and so on. A target server polls its master server, retrieving and performing the tasks posted.

Due to polling, there is a lag between master server task assignment and its implementation by the target server. For example, a master server could delete a job step within a multiserver job. When the target server polls, it retrieves the task, an instruction to delete the job step, and the master server is altered, indicating that the pending instruction has been retrieved.

Applies To: