Compartir a través de


Service.ErrorControl Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Wmi
Ensamblado:  Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)

Sintaxis

'Declaración
Public ReadOnly Property ErrorControl As ServiceErrorControl 
    Get
'Uso
Dim instance As Service 
Dim value As ServiceErrorControl 

value = instance.ErrorControl
public ServiceErrorControl ErrorControl { get; }
public:
property ServiceErrorControl ErrorControl {
    ServiceErrorControl get ();
}
member ErrorControl : ServiceErrorControl
function get ErrorControl () : ServiceErrorControl

Valor de la propiedad

Tipo: ServiceErrorControl
A ServiceErrorControl object value that specifies the severity of the error if the service fails to start during Microsoft SQL Server startup.

Ejemplos

Administrar servicios y configuración de red utilizando el proveedor WMI

Vea también

Referencia

Service Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Wmi

Otros recursos

WMI and SQL Server

Conectar al Motor de base de datos de SQL Server