TraceTable Class
The TraceTable class is a Trace object that represents a table of trace information.
Пространство имен: Microsoft.SqlServer.Management.Trace
Сборка: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
Синтаксис
'Декларация
<ComVisibleAttribute(False)> _
Public Class TraceTable
Inherits TraceReaderWriter
[ComVisibleAttribute(false)]
public class TraceTable : TraceReaderWriter
[ComVisibleAttribute(false)]
public ref class TraceTable : public TraceReaderWriter
/** @attribute ComVisibleAttribute(false) */
public class TraceTable extends TraceReaderWriter
ComVisibleAttribute(false)
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.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Trace.TraceReader
Microsoft.SqlServer.Management.Trace.TraceReaderWriter
Microsoft.SqlServer.Management.Trace.TraceTable
Пример
Синхронизация потоков
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
TraceTable Members
Microsoft.SqlServer.Management.Trace Namespace
Другие ресурсы
Флаги трассировки (Transact-SQL)
Работа с приложением SQL Server Profiler