Kbase P71521: How to disconnect from a Progress database when using a .NET ODBC client
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/3/2009 |
|
Status: Verified
GOAL:
How to disconnect from a Progress database when using a .NET ODBC client
GOAL:
Which .NET method causes the ODBC connection to be closed ?
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
All Supported Operating Systems
FIX:
When using .NET and ODBC (ADO.NET) the Close() method is used to disconnect from a connected database.
Note: If Connection Pooling is configured for the ODBC driver, then the OdbcConnection.ReleaseObjectPool() method should also be called to release the ODBC Driver Manager environment handle when the last underlying connection is released. Otherwise the connection to the database will be be held by the ODBC Driver Manager.