| title | ErrorControl Property (SqlService Class) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 06/13/2017 | |
| ms.prod | sql-server-2014 | |
| ms.reviewer | ||
| ms.technology | wmi | |
| ms.topic | reference | |
| api_name |
|
|
| api_location |
|
|
| topic_type |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | cbb1e0fa-5bfc-4b1b-a6ed-f7d5cfad4d73 | |
| author | CarlRabeler | |
| ms.author | carlrab | |
| manager | craigg |
Gets or sets the severity of the error if the service fails to start during startup.
object
.ErrorControl [= value]
object
A SqlService Class object that represents the service.
A string value that specifies the error severity reported if the service fails during startup. The following table shows the possible values.
Ignore
User is not notified.
Normal
User is notified.
Severe
System is restarted with the last-known-good configuration.
Critical
System attempts to restart with a good configuration.
Unknown
The severity is unknown.
The value indicates the action taken by the startup program if a failure occurs. All errors are logged by the computer system.