Aracılığıyla paylaş


DatabaseStatus Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum DatabaseStatus
[<System.Flags>]
type DatabaseStatus = 
Public Enum DatabaseStatus
Inheritance
DatabaseStatus
Attributes

Fields

Name Value Description
Normal 1

Referenced database is available for use (Online).

Restoring 2

Database restore is underway on the referenced database.

RecoveryPending 4

Database recovery is being prepared for the referenced database.

Recovering 8

Database recovery is underway on the referenced database.

Suspect 16

Database integrity is suspect for the referenced database.

Offline 32

Referenced database has been placed offline by a system or user action.

Inaccessible 62

Property value that may be used for bitwisee AND operation to determine accessibility of the database (Restoring | Offline | Suspect | Recovering | RecoveryPending).

Standby 64

Referenced database defined on a standby server.

Shutdown 128

Database is in Shutdown

EmergencyMode 256

Emergency mode has been initiated on the referenced database.

AutoClosed 512

The database has been autoclosed.

Applies to