State_Type (Integer property)

Specifies the state of a SQL Server database or physical file.  See the definitions of this property on those object types for the value values.

Tagged Values

Name Value
Data_TypeInteger
Long_Id{E7AB3CC0-47AD-4A10-8972-C0FB869EE7CB}+40202dfa
tag_Display_Name_ResourceState
tag_Is_Physicaltrue
tag_Release_Added7.2.0

Valid values for object SQLServer_Database

ValueClass NameDisplay Name
0OnlineOnline
5EmergencyEmergency
6OfflineOffline

Valid values for object SQLServer_Physical_File

ValueClass NameDisplay Name
0OnlineOnline
1OfflineOffline