Condividi tramite


PID Property

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The PID property retrieves the Microsoft SQL Server process identification.

Sintassi

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);

Osservazioni

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

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

Applies To:

SQLServer2 Object