replace_settings


Description:

public bool replace_settings (Variant new_settings) throws Error

Replaces this's settings with new_settings (which must be syntactically valid, and describe a known type of connection, but does not need to result in a connection that passes verify).

Parameters:

this

a Connection

new_settings

a Variant of type nm_variant_type_connection, with the new settings

Returns:

true if connection was updated, false if new_settings could not be deserialized (in which case this will be unchanged).