Freigeben über


MySqlConnectorSettings Class

Definition

Provides the client configuration settings for connecting to a MySQL database using MySqlConnector.

public sealed class MySqlConnectorSettings
type MySqlConnectorSettings = class
Public NotInheritable Class MySqlConnectorSettings
Inheritance
MySqlConnectorSettings

Constructors

MySqlConnectorSettings()

Properties

ConnectionString

The connection string of the MySQL database to connect to.

DisableHealthChecks

Gets or sets a boolean value that indicates whether the database health check is disabled or not.

DisableMetrics

Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

Applies to