Share via


Service.ErrorControl Property

Definition

Gets the severity of the error if the SQL Server service fails to start during startup.

public:
 property Microsoft::SqlServer::Management::Smo::Wmi::ServiceErrorControl ErrorControl { Microsoft::SqlServer::Management::Smo::Wmi::ServiceErrorControl get(); };
public Microsoft.SqlServer.Management.Smo.Wmi.ServiceErrorControl ErrorControl { get; }
member this.ErrorControl : Microsoft.SqlServer.Management.Smo.Wmi.ServiceErrorControl
Public ReadOnly Property ErrorControl As ServiceErrorControl

Property Value

Microsoft.SqlServer.Management.Smo.Wmi.ServiceErrorControl

A Microsoft.SqlServer.Management.Smo.Wmi.ServiceErrorControl object value that specifies the severity of the error if the service fails to start during Microsoft SQL Server startup.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to