KillProcess Method

SQL-DMO

SQL-DMO

KillProcess Method

The KillProcess method terminates the identified Microsoft® SQL Server™ 2000 process.

Applies To
SQLServer Object  
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);