Compartir a través de


Service.AcceptsStop Propiedad

Gets the Boolean property value that specifies whether the SQL Server service can be stopped.

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

Sintaxis

'Declaración
Public ReadOnly Property AcceptsStop As Boolean 
    Get
'Uso
Dim instance As Service 
Dim value As Boolean 

value = instance.AcceptsStop
public bool AcceptsStop { get; }
public:
property bool AcceptsStop {
    bool get ();
}
member AcceptsStop : bool
function get AcceptsStop () : boolean

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that specifies whether the SQL Server service can be stopped.If True, the service can be stopped.If False (default), the service cannot be stopped.

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