The ProcessID property returns the Microsoft® SQL Server™ process identifier for the connection used by the SQLServer object.
object.ProcessID
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
Long
Read-only
HRESULT GetProcessID(LPLONG plProcessID);