Share via


Application.Enable Method

Enables 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 Enable
public void Enable ()
public:
void Enable ()
public void Enable ()
public function Enable ()

Notas

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

Enabling an application allows its components to run. The application does not run if the instance is disabled, all of the application components are individually disabled, or the Notification Services engine is stopped.

Use the instance's Enable method to enable 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