set_alias_to_dbus_path_sync


Description:

public bool set_alias_to_dbus_path_sync (string alias, string? collection_path, Cancellable? cancellable = null) throws Error

Assign a collection to this alias.

Aliases help determine well known collections, such as 'default'. This method takes the dbus object path of the collection to assign to the alias.

This method may block and should not be used in user interface threads.

Parameters:

this

a secret service object

alias

the alias to assign the collection to

collection_path

the D-Bus object path of the collection to assign to the alias

cancellable

optional cancellation object

Returns:

true if successful