RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLMonitor.SaveToFile Method

Saves the contents of TraceList to a file.

Pascal
procedure SaveToFile(AFileName: string);
C++
__fastcall SaveToFile(AnsiString AFileName);

Call SaveToFile to save all of the currently logged messages to a file. 

AFileName specifies the file to which the strings in TraceList are saved. If AFileName is an empty string, SaveToFile uses the value of the FileName property.

Note: If the AutoSave property is true, SaveToFile is called automatically whenever a message is added to TraceList.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!