LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlDataSourceBuilder.UseName method

Sets the name of the MySqlDataSource that will be created.

public MySqlDataSourceBuilder UseName(string? name)
parameterdescription
nameThe 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