Service.ProcessId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the process ID that uniquely identifies the SQL Server service.
public:
property int ProcessId { int get(); };
public int ProcessId { get; }
member this.ProcessId : int
Public ReadOnly Property ProcessId As Integer
Property Value
An Int32 value that specifies the ID value that uniquely identifies the service.
Examples
Managing Services and Network Settings by Using WMI Provider