DatabaseState Struct

Definition

An enumeration of SQL Server Database states.

public readonly struct DatabaseState : IEquatable<Azure.ResourceManager.DataMigration.Models.DatabaseState>
type DatabaseState = struct
Public Structure DatabaseState
Implements IEquatable(Of DatabaseState)
Inheritance
DatabaseState
Implements

Constructors

DatabaseState(String)

Initializes a new instance of DatabaseState.

Properties

Copying

Copying.

Emergency

Emergency.

Offline

Offline.

OfflineSecondary

OfflineSecondary.

Online

Online.

Recovering

Recovering.

RecoveryPending

RecoveryPending.

Restoring

Restoring.

Suspect

Suspect.

Methods

Equals(DatabaseState)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(DatabaseState, DatabaseState)

Determines if two DatabaseState values are the same.

Implicit(String to DatabaseState)

Converts a string to a DatabaseState.

Inequality(DatabaseState, DatabaseState)

Determines if two DatabaseState values are not the same.

Applies to