MySqlDataSourceBuilder.UseName method
Sets the name of the MySqlDataSource that will be created.
public MySqlDataSourceBuilder UseName(string? name)
| parameter | description |
|---|---|
| name | The data source name. |
Return Value
This builder, so that method calls can be chained.
Remarks
The connection pool name is used to set the program_name connection attribute (which is visible to some diagnostic tools) and the pool.name tag supplied with connection pool metrics.
See Also
- class MySqlDataSourceBuilder
- namespace MySqlConnector
- assembly MySqlConnector