Try OpenEdge Now
skip to main content
.NET Open Clients
Connecting to an AppServer : Establishing the connection : Releasing a session-free Connection object
 

Releasing a session-free Connection object

For session-free applications, you must explicitly release the connections held by a Connection object when they are no longer needed. Use the following method on the Connection object for this purpose:

Syntax

public void ReleaseConnection( )
Note: This method is not necessary for and has no effect in session-managed applications.