set_managed


Description:

[ Version ( deprecated = true , deprecated_since = "1.22" , since = "1.2" ) ]
public void set_managed (bool managed)

Warning: set_managed is deprecated since 1.22.

Enables or disables management of Device by NetworkManager.

Note:

Use the async command dbus_set_property on get_path, interface nm_dbus_interface_device to set the "Managed" property to a "(b)" boolean value. This function is deprecated because it calls a synchronous D-Bus method and modifies the content of the NMClient cache client side. Also, it does not emit a property changed signal.

Parameters:

this

a Device

managed

true to make the device managed by NetworkManager.