Managing Adaptive Server ADO.NET Data Provider tracing

The ENABLETRACING connection property lets you enable or disable tracing of Adaptive Server ADO.NET Data Provider activities, which has always been enabled in versions earlier than ESD #4. ENABLETRACING is disabled by default to allow for better performance during normal execution where tracing is not needed. When this property is disabled, the TraceEnter and TraceExit events are not triggered, and tracing events are not executed.

ENABLETRACING is supported in Adaptive Server ADO.NET Data Provider versions 1.155 and 2.155. You can configure ENABLETRACING in the connection string using these values:

For information about the TraceEnter and TraceExit events, see the Adaptive Server Enterprise ADO.NET Data Provider Users Guide.