'Update the configuration option with a new value.
Note that this forces the value to be set for all contexts. The value is
written to the writeback location if Save() is later called.
Args:
name: The name of the parameter to set.
value: The value to set it to. The value will be validated against the
option\'s type descriptor.
Raises:
ConstModificationError: When attempting to change a constant option.'

def Set(self, name, value):

    if (self.writeback is None):
        logging.warn('Attempting    to    modify    a    read    only    config    object    for    %s.', name)
    if (name in self.constants):
        raise ConstModificationError(('Attempting    to    modify    constant    value    %s' % name))
    writeback_data = self.writeback_data
    if (value is not None):
        type_info_obj = self.FindTypeInfo(name)
        value = type_info_obj.ToString(value)
        if isinstance(value, basestring):
            value = self.EscapeString(value)
    writeback_data[name] = value
    self.FlushCache()
