次の方法で共有


PID Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。 新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。

The PID property retrieves the Microsoft SQL Server process identification.

構文

object.PID

Parts

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

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetPID(LPLONG plPID);

説明

An application uses the PID property to determine the process identification of a specific instance of SQL Server.

注意注意

If an application calls PID on an instance of SQL Server version 7.0, zero is returned.

Applies To: