Edit

Share via


TraceVSControl Function

Conformance
Version Introduced: ODBC 2.0

Summary
TraceVSControl toggles Visual Studio tracing.

Warning

The TraceVSControl function is private and isn't meant to be used directly in your code. Microsoft doesn't support the use of this field in a production application under any circumstance. Follow instructions in Setting Tracing Options to configure tracing.

Syntax

RETCODE SQL_API TraceVSControl(DWORD dwControl);

Arguments

dwControl
[Input] A DWORD indicating whether to enable VS tracing. Call TraceVSControl with 0x1L to turn on tracing and 0x0L to turn off tracing.

Returns

Always returns SQL_SUCCESS.

For information about See
Understanding ODBC tracing Setting Tracing Options