search_multimailbox_sync


Description:

[ Version ( since = "3.62" ) ]
public virtual bool search_multimailbox_sync (GenericArray<Folder> folders, string search_key, GenericArray<string> words, out HashTable<unowned string,unowned GenericArray<void*>> out_results, Cancellable? cancellable = null) throws Error

Runs search across multiple mailboxes in a single operation.

Returns g_io_error_not_supported when the store does not support this operation.

Parameters:

this

a Store

folders

array of folders to search

search_key

search key (e.g. BODY)

words

words/phrases to search

out_results

return location for a ghashtable mapping folder names (gchar*) to arrays of matching UID strings (GenericArray of gchar*)

cancellable

a Cancellable, or null

Returns:

whether search succeeded