Service.ErrorControl 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 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