MySqlConnectionStringBuilder Properties

MySQL Connector/Net

MySqlConnectionStringBuilder Properties

The MySqlConnectionStringBuilder type exposes the following members.

Properties
  Name Description
Public property AllowBatch
Gets or sets a boolean value that indicates whether this connection will allow commands to send multiple SQL statements in one execution.
Public property AllowUserVariables
Public property AllowZeroDateTime
Gets or sets a boolean value that indicates if zero date time values are supported.
Public property AutoEnlist
Public property BlobAsUTF8ExcludePattern
Gets or sets the pattern that matches the columns that should not be treated as UTF8
Public property BlobAsUTF8IncludePattern
Gets or sets the pattern that matches the columns that should be treated as UTF8
Public property BrowsableConnectionString
Gets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.
(Inherited from DbConnectionStringBuilder.)
Public property CacheServerProperties
Public property CertificateFile
Public property CertificatePassword
Public property CertificateStoreLocation
Public property CertificateThumbprint
Public property CharacterSet
Gets or sets the character set that should be used for sending queries to the server.
Public property CheckParameters
Public property CommandInterceptors
Public property ConnectionLifeTime
Gets or sets the lifetime of a pooled connection.
Public property ConnectionProtocol
Gets or sets the protocol that should be used for communicating with MySQL.
Public property ConnectionReset
Gets or sets a boolean value indicating if the connection should be reset when retrieved from the pool.
Public property ConnectionString
Gets or sets the connection string associated with the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.)
Public property ConnectionTimeout
Gets or sets the connection timeout.
Public property ConvertZeroDateTime
Gets or sets a boolean value indicating if zero datetime values should be converted to DateTime.MinValue.
Public property Count
Gets the current number of keys that are contained within the ConnectionString property.
(Inherited from DbConnectionStringBuilder.)
Public property Database
Gets or sets the name of the database the connection should initially connect to.
Public property DefaultCommandTimeout
Gets or sets the default command timeout.
Public property DefaultTableCacheAge
Public property ExceptionInterceptors
Public property FabricGroup
Public property FabricScope
Public property FabricServerMode
Public property FunctionsReturnString
Public property IgnorePrepare
Gets or sets a boolean value indicating if calls to Prepare() should be ignored.
Public property IncludeSecurityAsserts
Public property IntegratedSecurity
Public property InteractiveSession
Public property IsFixedSize
Gets a value that indicates whether the DbConnectionStringBuilder has a fixed size.
(Inherited from DbConnectionStringBuilder.)
Public property IsReadOnly
Gets a value that indicates whether the DbConnectionStringBuilder is read-only.
(Inherited from DbConnectionStringBuilder.)
Public property Item (Overrides DbConnectionStringBuilderItemString.)
Public property Keepalive
Public property Keys
Gets an ICollection that contains the keys in the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.)
Public property Logging
Gets or sets a boolean value that indicates whether logging is enabled.
Public property MaximumPoolSize
Gets or sets the maximum connection pool setting.
Public property MinimumPoolSize
Gets the minimum connection pool size.
Public property OldGuids
Public property Password
Gets or sets the password that should be used to connect with.
Public property PersistSecurityInfo
Gets or sets a boolean value that indicates if the password should be persisted in the connection string.
Public property PipeName
Gets or sets the name of the named pipe that should be used for communicating with MySQL.
Public property Pooling
Gets or sets a boolean value indicating if connection pooling is enabled.
Public property Port
Gets or sets the port number that is used when the socket protocol is being used.
Public property ProcedureCacheSize
Gets or sets the size of the stored procedure cache.
Public property Replication
Public property RespectBinaryFlags
Public property Server
Gets or sets the name of the server.
Public property ShardingKey
Public property ShardingTable
Public property SharedMemoryName
Gets or sets the base name of the shared memory objects used to communicate with MySQL when the shared memory protocol is being used.
Public property SqlServerMode
Public property SslMode
Indicates whether to use SSL connections and how to handle server certificate errors.
Public property TableCaching
Public property TreatBlobsAsUTF8
Indicates whether the driver should treat binary blobs as UTF8
Public property TreatTinyAsBoolean
Public property UseAffectedRows
Public property UseCompression
Gets or sets a boolean value that indicates whether this connection should use compression.
Public property UseDefaultCommandTimeoutForEF
Public property UseOldSyntax Obsolete.
Gets or sets a boolean value that indicates whether this connection uses the old style (@) parameter markers or the new (?) style.
Public property UsePerformanceMonitor
Gets or sets a boolean value indicating if the permon hooks should be enabled.
Public property UseProcedureBodies Obsolete.
Public property UserID
Gets or sets the user id that should be used to connect with.
Public property UseUsageAdvisor
Gets or sets a boolean value indicating if the Usage Advisor should be enabled.
Public property Values
Gets an ICollection that contains the values in the DbConnectionStringBuilder.
(Inherited from DbConnectionStringBuilder.)
Top
See Also