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