dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2Connection Class / ClearAllPools Method

In This Topic
    ClearAllPools Method
    In This Topic
    Clears all pools associated with the connection.
    Syntax
    'Declaration
     
    Public Shared Sub ClearAllPools() 
    public static void 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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also