Data.SqlExpr.TSQLMonitor.SaveToFile

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLMonitor

Delphi

procedure SaveToFile(AFileName: string);

C++

void __fastcall SaveToFile(System::UnicodeString AFileName);

Description

Saves the contents of TraceList to a file.

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.

See Also