EDataServer.Source.remote_delete
Description: Reference for EDataServer.Source.remote_delete

### Virtual Method

# EDataServer Sourceremote_delete

since: 3.6

#### Declaration [src]

    void
    remote_delete (
      ESource* source,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Asynchronously deletes the resource represented by `source` from a remote server. The `source` must be `ESource:remote-deletable`. This will also delete the key file for `source` and broadcast its removal to all clients, similar to e_source_remove().

When the operation is finished, `callback` will be called. You can then call `e_source_remote_delete_finish()` to get the result of the operation.

Available since: 3.6

#### Parameters

`cancellable`

  Type: `GCancellable`

  Optional `GCancellable` object, or `NULL`.

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

`callback`

  Type: `GAsyncReadyCallback`

  A `GAsyncReadyCallback` to call when the request is satisfied.

`user_data`

  Type: `gpointer`

  Data to pass to the callback function.

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