Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Relational Functions, 17 of 38
Destroys a session pool.
sword OCISessionPoolDestroy ( OCISPool *spoolhp, OCIError *errhp, ub4 mode );
The session pool handle for the session pool to be destroyed.
An error handle which can be passed to OCIErrorGet()
.
Currently, OCISessionPoolDestroy()
will support modes OCI_DEFAULT and OCI_SPD_FORCE.
If this call is made with mode
set to OCI_SPD_FORCE, and there are active sessions in the pool, the sessions will be closed and the pool will be destroyed. However, if this mode is not set, and there are busy sessions in the pool, an error will be returned.
OCISessionPoolCreate(), OCISessionRelease()
, OCISessionGet()
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|