Compartir a través de


Offline Property

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

The Offline property controls Microsoft SQL Server database availability.

Sintaxis

object
.Offline [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetOffline(LPBOOL pRetVal);
HRESULT SetOffline(BOOL NewValue);

Notas

If TRUE, the database is unavailable, or is being made unavailable, for use by authorized users.

If FALSE, the database is online, or is being brought online, for use by authorized users.

Applies To:

DBOption Object