We're trying to use automation to get the Natvis diagnostic messages level that's displayed in the Debugger->Output Window property page. However, we have been unable to find any documentation on how to achieve this.
By automation, I mean via the envdte interface methods (because VS 2017 has it's own registry hive, we would prefer NOT to read registry keys to get this).