Partager via


TraceReaderWriter Class

The TraceReaderWriter class is an abstract Trace Objects class that is used in the construction of the TraceTable class and the TraceFile class.

Espace de noms: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntaxe

'Déclaration
<ComVisibleAttribute(False)> _
Public Class TraceReaderWriter
    Inherits TraceReader
    Implements ITraceDataWriter
[ComVisibleAttribute(false)] 
public class TraceReaderWriter : TraceReader, ITraceDataWriter
[ComVisibleAttribute(false)] 
public ref class TraceReaderWriter : public TraceReader, ITraceDataWriter
/** @attribute ComVisibleAttribute(false) */ 
public class TraceReaderWriter extends TraceReader implements ITraceDataWriter
ComVisibleAttribute(false) 
public class TraceReaderWriter extends TraceReader implements ITraceDataWriter

Notes

The TraceReaderWriter class provides trace data writing functionality that is common to both the TraceTable class and the TraceFile class.

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.TraceFile
       Microsoft.SqlServer.Management.Trace.TraceTable

Exemple

Readme_Tracer

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

TraceReaderWriter Members
Microsoft.SqlServer.Management.Trace Namespace

Autres ressources

Indicateurs de trace (Transact-SQL)
Utilisation du Générateur de profils SQL Server