Compartilhar via


KillProcess Method

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

The KillProcess method terminates the identified Microsoft SQL Server process.

Sintaxe

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: