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.


object
.Offline [= value]

object

An expression that evaluates to an object in the Applies To list

value

TRUE or FALSE

Boolean

Read/write

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

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.

Community Additions

ADD
Show: