EPUB | CHM | PDF

TPSQLDump.Methods.DumpToFile

Top Previous Next

Writes the database dump to the specified file.

Syntax:

procedure DumpToFile(const FileName: string; Log: TStrings); overload;
procedure DumpToFile(const FileName, LogFileName: string); overload;

Description:

Call DumpToFile to save the produced database dump to the file specified by FileName. Log and LogFileName parameter are used to return output of dump process.

If LogFileName will contain empty string, then no log file will be created. Thus developer is responsible (but not obliged) to get logging information through OnLog event.

See also: RewriteFile