Data.SqlExpr.TSQLMonitor.TraceList
Delphi
property TraceList: TStrings read FTraceList write SetTraceList stored False;
C++
__property System::Classes::TStrings* TraceList = {read=FTraceList, write=SetTraceList, stored=false};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLMonitor |
Description
Lists the messages that have passed between SQLConnection and the database server.
Use the TraceList property to access the list of SQL commands that has already been logged. While the SQL monitor is active, the TraceList property is automatically updated when the connection component passes a message to the database server.
Only messages that meet the criteria specified by the TraceFlags property are added to TraceList.
TraceList is a TStrings descendant. As such, you can use its methods to:
- Clear the list.
- Access the individual commands in the list.
- Add your own comments to the list. For example, you may want to indicate when your application initiates certain actions so that you can see clearly what SQL messages correspond to what actions.