Jaa


Offline Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The Offline property controls Microsoft SQL Server database availability.

Syntax

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);

Remarks

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