Share via


KillProcess Method

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The KillProcess method terminates the identified Microsoft SQL Server process.

Sintassi

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