PID Property

SQL-DMO

SQL-DMO

PID Property

The PID property retrieves the Microsoft® SQL Server™ 2000 process identification.

Applies To
SQLServer2 Object
Syntax

object.PID

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetPID(LPLONG plPID);

Remarks

An application uses the PID property to determine the process identification of a specific instance of SQL Server.

Note  If an application calls PID on an instance of SQL Server version 7.0, zero is returned.