Freigeben über


KillProcess Method

Dieses Feature wird in einer zukünftigen Version von Microsoft SQL Server entfernt. Verwenden Sie dieses Feature beim Entwickeln neuer Anwendungen nicht, und planen Sie das Ändern von Anwendungen, in denen es zurzeit verwendet wird.

The KillProcess method terminates the identified Microsoft SQL Server process.

Syntax

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:

SQLServer Object