ITraceDataWriter 接口

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

命名空间:  Microsoft.SqlServer.Management.Trace
程序集:  Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

语法

声明
Public Interface ITraceDataWriter
用法
Dim instance As ITraceDataWriter
public interface ITraceDataWriter
public interface class ITraceDataWriter
type ITraceDataWriter =  interface end
public interface ITraceDataWriter

ITraceDataWriter 类型公开以下成员。

方法

  名称 说明
公共方法 Write Writes the SQL Trace.

页首

事件

  名称 说明
公共事件 WriteNotify Raises a write notify event.

页首

示例

Using SQL Server Profiler

请参阅

参考

Microsoft.SqlServer.Management.Trace 命名空间

其他资源

跟踪标志 (Transact-SQL)

SQL Server Profiler 模板和权限