Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the Win32 error code that defines problems encountered when starting and stopping the SQL Server service.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Property ExitCode As Integer
Get
'Usage
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
Property Value
Type: System.Int32
An Int32 value that specifies the Win32 error code that defines problems encountered when starting and stopping the service.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace