Offline Property (SQL-DMO)

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

Applies To

DBOption Object

Syntax

object.Offline [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

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.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetOffline(LPBOOL pRetVal);

HRESULT SetOffline(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.