Service.ExitCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Win32 error code that defines problems encountered when starting and stopping the SQL Server service.
public:
property int ExitCode { int get(); };
public int ExitCode { get; }
member this.ExitCode : int
Public ReadOnly Property ExitCode As Integer
Property Value
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