delete_resource_sync


Description:

public virtual bool delete_resource_sync (Source source, Cancellable? cancellable = null) throws Error

Deletes a server-side resource described by source.

The source must be a child of this's collection source.

After the server-side resource is successfully deleted, the implementor must also remove source from the this's server. This can either be done immediately or in response to some "resource deleted" notification from the server.

If an error occurs, the function will set throws and return false.

Parameters:

this

an CollectionBackend

source

an Source

cancellable

optional Cancellable object, or null

Returns:

true on success, false on failure