EDataServer.Client.refresh_sync
Description: Reference for EDataServer.Client.refresh_sync

### Virtual Method

# EDataServer Clientrefresh_sync

since: 3.2

#### Declaration [src]

    gboolean
    refresh_sync (
      EClient* client,
      GCancellable* cancellable,
      GError** error
    )

#### Description [src]

Initiates refresh on the `client`. Finishing the method doesn’t mean that the refresh is done, backend only notifies whether it started refreshing or not. Use `e_client_check_refresh_supported()` to check whether the backend supports this method.

Available since: 3.2

#### Parameters

`cancellable`

  Type: `GCancellable`

  A `GCancellable`; can be `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`error`

  Type: `GError **`

  The return location for a recoverable error.

  The argument can be `NULL`.
  If the return location is not `NULL`, then you must initialize it to a `NULL` `GError*`.
  The argument will be left initialized to `NULL` by the virtual function if there are no errors.
  In case of error, the argument will be set to a newly allocated `GError`; the caller will take ownership of the data, and be responsible for freeing it.

#### Return value

Type: `gboolean`

`TRUE` if successful, `FALSE` otherwise.