Offline Property

SQL-DMO

SQL-DMO

Offline Property

The Offline property controls Microsoft® SQL Server™ 2000 database availability.

Applies To
DBOption Object  
Syntax

object.Offline [= value]

Parts

object

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

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

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