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. SQL queries profiling is being executed.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

MsDalDriver: IDalDriverExt;

Begin

MsDalDriver := (New DalMsSql2008Driver.Create) As IDalDriverExt;

MsDalDriver.StopProfile;

End Sub Button1OnClick;

After executing the example SQL queries profiling is stopped, profiling results are displayed in the debugger.

See also:

IDalDriverExt