0 = ONLINE
1 = RESTORING
2 = RECOVERING | SQL Server 2008 and later
3 = RECOVERY_PENDING | SQL Server 2008 and later
4 = SUSPECT
5 = EMERGENCY | SQL Server 2008 and later
6 = OFFLINE | SQL Server 2008 and later
7 = COPYING | Azure SQL Database Active Geo-Replication
10 = OFFLINE_SECONDARY | Azure SQL Database Active Geo-Replication