Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_LDAP , 5 of 30


unbind_s Function

This function closes an active LDAP session.

Syntax

DBMS_LDAP.unbind_s (

ld  IN SESSION )  
RETURN PLS_INTEGER;

Parameters
Table 20-13 unbind_s Function Parameters
Parameter  Description 

ld (IN) 

A valid LDAP session handle. 

Return Values
Table 20-14 unbind_s Function Return Values
Value  Description 

PLS_INTEGER  

SUCCESS on proper completion. One of the exceptions listed in Table 20-15 is raised otherwise. 

Exceptions
Table 20-15 unbind_s Function Exceptions
Exception  Description 

invalid_session 

Raised if the session handle ld is invalid. 

general error 

For all other errors. The error string associated with this exception explains the error in detail. 

Usage Notes

The unbind_s function sends an unbind request to the server, closes all open connections associated with the LDAP session, and disposes of all resources associated with the session handle before returning. After a call to this function, the session handle ld is invalid and it is illegal to make any further LDAP API calls using ld.

See Also:

 

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback