Compartilhar via


PID Property

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

The PID property retrieves the Microsoft SQL Server process identification.

Sintaxe

object.PID

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetPID(LPLONG plPID);

Comentários

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

ObservaçãoObservação

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

Applies To: