Microsoft.Data.SqlClient.ConnectionPool.DbConnectionPoolGroupOptions
The time (in milliseconds) to wait for a connection to be created/returned before terminating the attempt.
The maximum time a pooled connection can sit unused (idle) in the pool before it becomes
eligible for eviction. Eviction is best-effort: a connection that has been idle longer
than this value is discarded either on the next retrieval attempt or during a periodic
pool maintenance pass (in pool implementations that perform periodic maintenance),
whichever happens first. Implementations may check this threshold opportunistically, so
eviction may occur somewhat before or after the exact timeout depending on the pool
implementation and maintenance cadence.
Zero disables idle expiration.
public DbConnectionPoolGroupOptions(bool poolByIdentity, int minPoolSize, int maxPoolSize, int creationTimeout, int loadBalanceTimeout, bool hasTransactionAffinity, int idleTimeout)