I'm using a SqlConnectionStringBuilder instance to parse a connection string, but don't want to check its key names for validity. By behaviour the builder will throw an exception if an unsupported key is encountered in the string.
For example, exception on unknown key "whatever" is:
Keyword not supported: 'whatever'.
What I want to do is have an entire connection string parsed without exception, despite unsupported keywords.
Without writing code to perform this trick, is there native support for just the parsing aspect in the .NET Framework, or can I hook into what's already internalized in the connection builder class in some fashion?