KillProcess Method
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
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);