EBackend.Backend.set_online

### Method

# EBackend Backendset_online

since: 3.4

#### Declaration [src]

    void
    e_backend_set_online (
      EBackend* backend,
      gboolean online
    )

#### Description [src]

Sets the online state of `backend`: `TRUE` if `backend` is online, `FALSE` if offline.

If the `EBackend:connectable` property is non-`NULL`, the `backend` will automatically determine whether the network service should be reachable, and hence whether the `backend` is `EBackend:online`. But subclasses may override the online state if, for example, a connection attempt fails.

Available since: 3.4

Sets property | `EBackend.Backend:online`

#### Parameters

`online`

  Type: `gboolean`

  The online state.