共用方式為


TraceTable 類別

The TraceTable class is a Trace object that represents a table of trace information.

命名空間:  Microsoft.SqlServer.Management.Trace
組件:  Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

語法

'宣告
<ComVisibleAttribute(False)> _
Public Class TraceTable _
    Inherits TraceReaderWriter
'用途
Dim instance As TraceTable
[ComVisibleAttribute(false)]
public class TraceTable : TraceReaderWriter
[ComVisibleAttribute(false)]
public ref class TraceTable : public TraceReaderWriter
[<ComVisibleAttribute(false)>]
type TraceTable =  
    class
        inherit TraceReaderWriter
    end
public class TraceTable extends TraceReaderWriter

備註

With the TraceTable object you can:

  • Read from a trace table.

  • Write to a trace table.

In addition to the Trace and Replay objects, the trace table can be accessed manually with SQL Server Profiler 參考 or using a set of Transact-SQL stored procedures called SQL 追蹤簡介.

範例

Readme_Tracer

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。