共用方式為


ProcessId 屬性

Gets the process ID that uniquely identifies the SQL Server service.

命名空間:  Microsoft.SqlServer.Management.Smo.Wmi
組件:  Microsoft.SqlServer.SqlWmiManagement (在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

語法

'宣告
Public ReadOnly Property ProcessId As Integer
    Get
'用途
Dim instance As Service
Dim value As Integer

value = instance.ProcessId
public int ProcessId { get; }
public:
property int ProcessId {
    int get ();
}
member ProcessId : int
function get ProcessId () : int

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the ID value that uniquely identifies the service.