To terminate a connection to a driver and data source, you must:
1.Call EDSDisconnect to close the connection. Your application can then use the handle to reconnect to the same data source or to a different data source.
2.Call EDSFreeConnect to release the connection handle and free all resources associated with the handle.
3.Call EDSFreeEnv to release the environment handle and free all resources associated with the handle.