IBrowserService2::Offline method

Deprecated. Checks for and updates the browser's offline status, synchronzing the state between the base class and any derived classes.

Syntax

HRESULT Offline(
  int iCmd
);

Parameters

iCmd

Type: int

One of the following commands.

SBSC_QUERY

Queries the offline state. The method's return value contains the answer.

SBSC_TOGGLE

Toggles the offline state.

Return Value

Type: HRESULT

In the case of SBSC_TOGGLE, returns standard error codes. In the case of SBSC_QUERY, returns S_OK if offline, S_FALSE otherwise.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shdeprecated.h