Share via


DatabaseReadScale Struct

Definition

The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. Not applicable to a Hyperscale database within an elastic pool.

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

Constructors

DatabaseReadScale(String)

Initializes a new instance of DatabaseReadScale.

Properties

Disabled

Disabled.

Enabled

Enabled.

Methods

Equals(DatabaseReadScale)

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(DatabaseReadScale, DatabaseReadScale)

Determines if two DatabaseReadScale values are the same.

Implicit(String to DatabaseReadScale)

Converts a string to a DatabaseReadScale.

Inequality(DatabaseReadScale, DatabaseReadScale)

Determines if two DatabaseReadScale values are not the same.

Applies to