skip to main content
Using the ADO.NET Client : Specifying Connection Options : Enable Trace
 

Enable Trace

Property

EnableTrace

Description

Specifies whether tracing is enabled.

Valid Values

0 | 1 | 2
If set to 0 (the initial default), tracing is not enabled.
If set to 1, tracing is enabled. Results are appended to the file.
If set to 2, tracing is enabled. The trace file is recreated.

Default

0