The Offline property controls Microsoft® SQL Server™ database availability.
object.Offline [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | True or False |
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.
Boolean
Read/write
HRESULT GetOffline(LPBOOL pRetVal);
HRESULT SetOffline(BOOL NewValue);