DatabaseState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Database state enumeration.
public enum class DatabaseState
[Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Utility.EnumSR")]
public enum DatabaseState
[<Microsoft.SqlServer.Management.Sdk.Sfc.LocalizedPropertyResources("Microsoft.SqlServer.Management.Utility.EnumSR")>]
type DatabaseState =
Public Enum DatabaseState
- Inheritance
-
DatabaseState
- Attributes
Fields
Name | Value | Description |
---|---|---|
Unknown | -1 | Database is in an unknown state. |
Available | 0 | Database is online. |
Unavailable | 1 | Database is not online. |