set_autoconnect


Description:

[ Version ( deprecated = true , deprecated_since = "1.22" ) ]
public void set_autoconnect (bool autoconnect)

Warning: set_autoconnect is deprecated since 1.22.

Enables or disables automatic activation of the Device.

Note:

Use the async command dbus_set_property on get_path, nm_dbus_interface_device to set "Autoconnect" property to a "(b)" value. This function is deprecated because it calls a synchronous D-Bus method and modifies the content of the NMClient cache client side.

Parameters:

this

a Device

autoconnect

true to enable autoconnecting