.. _dpiPoolCloseMode:
ODPI-C Enumeration dpiPoolCloseMode
-----------------------------------
This enumeration identifies the mode to use when closing pools.
.. list-table-with-summary::
:header-rows: 1
:class: wy-table-responsive
:widths: 15 35
:summary: The first column displays the value of the dpiPoolCloseMode
enumeration. The second column displays the description of the
dpiPoolCloseMode enumeration value.
* - Value
- Description
* - DPI_MODE_POOL_CLOSE_DEFAULT
- Default value used when closing pools. If there are any active sessions
in the pool an error will be raised.
* - DPI_MODE_POOL_CLOSE_FORCE
- Causes all of the active connections in the pool to be closed before
closing the pool itself.