Jaa


ProcessID Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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

Syntax

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