SAS Institute. The Power to Know

SAS(R) 9.2 Integration Technologies: Directory Services Reference

Previous Page | Next Page

LDAP CALL Routine Interface

LDAPS_CLOSE



Closes a connection to an LDAP server
Syntax
Arguments
Details
Example

Syntax

CALL LDAPS_CLOSE(lHandle, rc);

Arguments

lHandle

specifies the connection handle that is returned by the LDAPS_OPEN CALL routine.

Type: Numeric
Direction: Input
rc

receives a return code that specifies success or failure.

Type: Numeric
Direction: Output

Details

When invoked, the LDAPS_CLOSE CALL routine closes the connection to the LDAP server. All resources associated with the connection are freed. Therefore, any valid search handles that are associated with this connection are no longer valid.


Example

The following example closes an open connection to an LDAP server.

call ldaps_close(lHandle, rc);

Previous Page | Next Page | Top of Page