Compartir a través de


Application.Disable Method

Disables the application by recording a state change in the application database.

Espacio de nombres: Microsoft.SqlServer.Management.Nmo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub Disable
public void Disable ()
public:
void Disable ()
public void Disable ()
public function Disable ()

Notas

When you create an application, all of its components are disabled.

Disabling an application pauses its components. It can take up to 30 seconds for the Notification Services engine to respond to a state change.

Use the instance's Disable method to disable all instance and application components.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Application Class
Application Members
Microsoft.SqlServer.Management.Nmo Namespace

Otros recursos

Habilitar y deshabilitar instancias, aplicaciones o componentes
Ver el estado de instancias, aplicaciones y componentes