The KillProcess method terminates the Microsoft® SQL Server™ process identified.
object.KillProcess( pid )
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
pid | Long integer identifying a SQL Server process. |
HRESULT KillProcess(long lpid);