Condividi tramite


ProcessID 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 ProcessID property returns the Microsoft SQL Server process identifier for the connection used by the SQLServer object.

Sintassi

object
.ProcessID

Parts

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

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetProcessID(LPLONG plProcessID);

Applies To:

SQLServer Object