Class MySqlConfiguration
Represents a section within a configuration file.
Inheritance
System.Object
System.Configuration.ConfigurationElement
System.Configuration.ConfigurationSection
MySqlConfiguration
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 9.3.0
Syntax
public sealed class MySqlConfiguration : ConfigurationSection
Properties
AuthenticationPlugins
Gets a collection of the authentication plugins available in the current configuration.
Declaration
[ConfigurationProperty("AuthenticationPlugins", IsRequired = false)]
[ConfigurationCollection(typeof(AuthenticationPluginConfigurationElement), AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")]
public GenericConfigurationElementCollection<AuthenticationPluginConfigurationElement> AuthenticationPlugins { get; }
Property Value
Type | Description |
---|---|
GenericConfigurationElementCollection<AuthenticationPluginConfigurationElement> |
CommandInterceptors
Gets a collection of the command interceptors available in the current configuration.
Declaration
[ConfigurationProperty("CommandInterceptors", IsRequired = false)]
[ConfigurationCollection(typeof(InterceptorConfigurationElement), AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")]
public GenericConfigurationElementCollection<InterceptorConfigurationElement> CommandInterceptors { get; }
Property Value
Type | Description |
---|---|
GenericConfigurationElementCollection<InterceptorConfigurationElement> |
ExceptionInterceptors
Gets a collection of the exception interceptors available in the current configuration.
Declaration
[ConfigurationProperty("ExceptionInterceptors", IsRequired = false)]
[ConfigurationCollection(typeof(InterceptorConfigurationElement), AddItemName = "add", ClearItemsName = "clear", RemoveItemName = "remove")]
public GenericConfigurationElementCollection<InterceptorConfigurationElement> ExceptionInterceptors { get; }
Property Value
Type | Description |
---|---|
GenericConfigurationElementCollection<InterceptorConfigurationElement> |
Replication
Gets or sets the replication configurations.
Declaration
[ConfigurationProperty("Replication", IsRequired = true)]
public ReplicationConfigurationElement Replication { get; set; }
Property Value
Type | Description |
---|---|
ReplicationConfigurationElement |
Settings
Gets the MySQL configuations associated to the current configuration.
Declaration
public static MySqlConfiguration Settings { get; }
Property Value
Type | Description |
---|---|
MySqlConfiguration |