IDalDriverExt.StartProfile

Syntax

StartProfile;

Description

The StartProfile method starts profiling. Use the IDalDriverExt.StopProfile method to stop profiling.

Example

Executing the example requires a form that contains a button with the Button1 identifier.

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

Var

MsDalDriver: IDalDriverExt;

Begin

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

MsDalDriver.StartProfile;

End Sub Button1OnClick;

SQL queries profiling is started after executing the example.

See also:

IDalDriverExt