共用方式為


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 範本和權限