Db2

 View Only

[.Net driver] How to release all connections in connection pool?

  • 1.  [.Net driver] How to release all connections in connection pool?

    Posted Mon February 11, 2019 12:31 PM
    Hey,

    I am currently switching from old .Net Data Provider for Db2 databases in iSeries (IBM.Data.DB2.iSeries) and I cannot find the equivalent API to release all connections in my connection pool.
    In the old driver I used:

    iDB2ProviderSettings.CleanupPooledConnections()
    But with the .Net driver provider in IBM Data Server Driver Package v11.1, I am unable to find an equivalent API.
    I have searched IBM documentation and forums without any success.
    I appreciate any help or guidance you can provide me to overcome this obstacle.
    Thank you for your time.

    ------------------------------
    D N
    ------------------------------

    #Db2