'Declaration Public Shared Sub ClearPool( _ ByVal connection As OracleConnection _ )
public static void ClearPool( OracleConnection connection )
Parameters
- connection
- A connection that holds ConnectionString that identifies pool to clear.
'Declaration Public Shared Sub ClearPool( _ ByVal connection As OracleConnection _ )
public static void ClearPool( OracleConnection connection )
Pool is automatically cleared if a connection is idle for some time or closed by the server. Call ClearPool to force explicit pool clearance.
ClearPool does not immediately clear the pool. The operation is started in approximately 30 seconds. The main thread of the application is not blocked.