<PackageReference Include="Microsoft.Data.SqlClient" Version="7.1.0-preview3.26238.4" />

Microsoft.Data.SqlClient.ConnectionPool.DbConnectionPoolGroupOptions

public int CreationTimeout { get; }

The time (in milliseconds) to wait for a connection to be created/returned before terminating the attempt.

public bool HasTransactionAffinity { get; }

public TimeSpan IdleTimeout { get; }

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 TimeSpan LoadBalanceTimeout { get; }

public int MaxPoolSize { get; }

public int MinPoolSize { get; }

public bool PoolByIdentity { get; }

public bool UseLoadBalancing { get; }

public DbConnectionPoolGroupOptions(bool poolByIdentity, int minPoolSize, int maxPoolSize, int creationTimeout, int loadBalanceTimeout, bool hasTransactionAffinity, int idleTimeout)