|
The PsqlTrace object is created by the application to debug problems during development. Setting the properties in the PsqlTrace object overrides the settings of the environment variables. See Connection String Options for the Pervasive.SQL Provider for more information. For your final application, be sure to remove references to the PsqlTrace object.
The following code fragment creates a Trace object named MyTrace.txt. All subsequent calls to the data provider will be traced to that file.
PsqlTrace MyTraceObject = new PsqlTrace(); MyTraceObject.TraceFile="C:\MyTrace.txt"; MyTraceObject.RecreateTrace = 1; MyTraceObject.EnableTrace = 1;
Table 4-21 describes the public properties for the PsqlTrace object.
Table 4-22 descibes the public methods for PsqlTrace.
|
Methods
|
Description
|
|---|---|
|
DumpFootprints
|
Displays the footprint of all source files in a data provider.
|
|
Chapter contents
Prev topic: PsqlParameterCollection Object
|