Validates the setting.
Each setting's properties have allowed values, and some are dependent on other values (hence the need for connection
). The
returned Error contains information about which property of the setting failed validation, and in what way that
property failed validation.
this |
the Setting to verify |
connection |
the Connection that this came from, or null if this is being verified in isolation. |
true if the setting is valid, false if it is not |