这是可能的,使用T-sql?
SELECT name,is_read_only FROM sys.databases WHERE name = 'MyDBNAme' GO --returns 1 in is_read_only when database is set to read-only mode.