Proprietà Service.ExitCode
Gets the Win32 error code that defines problems encountered when starting and stopping the SQL Server service.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Sintassi
'Dichiarazione
Public ReadOnly Property ExitCode As Integer
Get
'Utilizzo
Dim instance As Service
Dim value As Integer
value = instance.ExitCode
public int ExitCode { get; }
public:
property int ExitCode {
int get ();
}
member ExitCode : int
function get ExitCode () : int
Valore proprietà
Tipo: System.Int32
An Int32 value that specifies the Win32 error code that defines problems encountered when starting and stopping the service.
Esempi
Gestione di servizi e di impostazioni di rete tramite il provider WMI
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi