SqlConnection::ClearAllPools Method ()
.NET Framework (current version)
Empties the connection pool.
Assembly: System.Data (in System.Data.dll)
ClearAllPools resets (or empties) the connection pool. If there are connections in use at the time of the call, they are marked appropriately and will be discarded (instead of being returned to the pool) when Close is called on them.
.NET Framework
Available since 2.0
Available since 2.0
Show: