KillProcess Method (SQL-DMO)

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

Applies To

SQLServer Object

Syntax

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.

Prototype (C/C++)

HRESULT KillProcess(long lpid);


(c) 1988-98 Microsoft Corporation. All Rights Reserved.