Share via


ITraceDataWriter Interface

The ITraceDataWriter object provides programmatic access to the data writer for the SQL Trace.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
Public Interface ITraceDataWriter
'Usage
Dim instance As ITraceDataWriter
public interface ITraceDataWriter
public interface class ITraceDataWriter
type ITraceDataWriter =  interface end
public interface ITraceDataWriter

The ITraceDataWriter type exposes the following members.

Methods

  Name Description
Public method Write Writes the SQL Trace.

Top

Events

  Name Description
Public event WriteNotify Raises a write notify event.

Top

Examples

Using SQL Server Profiler

See Also

Reference

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions