Share via


Service.ProcessId Property

Definition

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

Applies to