IDalDriverExt.PrintProfileResults

Syntax

PrintProfileResults;

Description

The PrintProfileResults method displays profiling results. Results can be displayed if the profiling is being executed. Use the IDalDriverExt.StartProfile method to start profiling.

Example

Executing the example requires a form that contains the Button component with the Button1 identifier. SQL queries profiling is being executed. The example is a handler of the OnClick event for the Button1 component.

Add links to the Dal, ExtCtrls, and Forms system assemblies.

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:

IDalDriverExt