Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
The TraceServer class is a Trace object that represents a new trace on an instance of Microsoft SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Trace
Сборка: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
Синтаксис
'Декларация
<ComVisibleAttribute(False)> _
Public Class TraceServer
Inherits TraceReader
[ComVisibleAttribute(false)]
public class TraceServer : TraceReader
[ComVisibleAttribute(false)]
public ref class TraceServer : public TraceReader
/** @attribute ComVisibleAttribute(false) */
public class TraceServer extends TraceReader
ComVisibleAttribute(false)
public class TraceServer extends TraceReader
Замечания
With the TraceServer object you can:
Start a new trace.
Read a trace.
In addition to the Trace and Replay objects, the trace can be created 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.TraceServer
Пример
Синхронизация потоков
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.
См. также
Справочник
TraceServer Members
Microsoft.SqlServer.Management.Trace Namespace
Другие ресурсы
Флаги трассировки (Transact-SQL)
Работа с приложением SQL Server Profiler