What is the replacement for EXEC sp_dboption  in SQL Server 2012? From microsoft connect you learn, that it is closed by design. But they do not tell how to replace

EXEC sp_dboption master


to query the current db options.
Most of the options are in sys.databases