dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlConnection Class / ClearAllPools Method / ClearAllPools() Method

In This Topic
ClearAllPools() Method
In This Topic
Clears all pools associated with the connection.
Syntax
'Declaration
 
Public Overloads Shared Sub ClearAllPools() 
 
Remarks

Pools are automatically cleared if a connection is idle for some time or closed by the server. Call ClearAllPools to force explicit pools clearance.

ClearAllPools method does not immediately clear the pools. The operation is started in approximately 30 seconds. The main thread of the application is not blocked.

See Also