TraceLevel

This property specifies the generated trace level to trace ODP.NET calls and diagnose provider issues. Errors will always be traced. Default value is 0 indicating tracing is disabled.

Declaration

// C#
public static int TraceLevel { get; set; }

Property Type

System.Int32

Valid Values:

These values can be bitwise ORed. To enable all traces, set TraceLevel to 7. Use TraceLevel 8 if you require SQL statements and network packet contents to be excluded from the trace.

See Also: