Partager via


ProcessID Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The ProcessID property returns the Microsoft SQL Server process identifier for the connection used by the SQLServer object.

Syntaxe

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