IDalDriverExt.StopProfile

Syntax

StopProfile;

Description

The StopProfile method stops profiling and displays its results. Use the IDalDriverExt.StartProfile method to resume profiling.

Example

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.StopProfile;

End Sub Button1OnClick;

After executing this example the SQL queries profiling is stopped, the results of the profiling are output in the debugger.

See also:

IDalDriverExt