Compartilhar via


Propriedade ProcessId

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

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (em Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxe

'Declaração
Public ReadOnly Property ProcessId As Integer
    Get
'Uso
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

Valor da propriedade

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