Share via


DatabaseState Enum

Definition

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.

Applies to