次の方法で共有


KillProcess Method

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

The KillProcess method terminates the identified Microsoft SQL Server process.

構文

object.KillProcess(pid)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • pid
    Long integer identifying a SQL Server process.

Prototype (C/C++)

HRESULT KillProcess(long lpid);

Applies To: