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