This method of the Connection and Recordset classes closes an open object and any dependent objects.
public void close();