PrintProfileResults;
The PrintProfileResults method outputs the results of profiling. Results can be output, if the profiling is being done. Use the IDalDriverExt.StartProfile method to start the profiling.
Executing the example requires a form that contains a button with the Button1 identifier. The SQL queries profiling is being done.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
MsDalDriver: IDalDriverExt;
Begin
MsDalDriver := (New DalMsSql2008Driver.Create) As IDalDriverExt;
MsDalDriver.PrintProfileResults;
End Sub Button1OnClick;
The results of profiling are output in the debugger after executing this example.
See also: