Compartir a través de


KillProcess Method

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

The KillProcess method terminates the identified Microsoft SQL Server process.

Sintaxis

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: