On Sun, Jan 9, 2011 at 14:40, Takeshi Kabuto <takeshi.kab...@gmail.com> wrote: > Is there a way to close or call the the Dispose function when the > FbRestore class is used? > > Now, FbRestore does not release the fbk file when the FbRestore object > is deleted. I need to force a call to the garbage collector. > > You can test if you call restore.Execute(), then delete restore and > finally you try to delete the fbk file. An exception is thrown because > the fbk file is locked.
The FbRestore is doing backup via ServicesAPI, hence the server is keeping the file not the application. -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider