Classe TraceReaderWriter
The TraceReaderWriter class is an abstract Trace Objects class that is used in the construction of the TraceTable class and the TraceFile class.
Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)
Sintaxe
'Declaração
<ComVisibleAttribute(False)> _
Public Class TraceReaderWriter _
Inherits TraceReader _
Implements ITraceDataWriter
'Uso
Dim instance As TraceReaderWriter
[ComVisibleAttribute(false)]
public class TraceReaderWriter : TraceReader,
ITraceDataWriter
[ComVisibleAttribute(false)]
public ref class TraceReaderWriter : public TraceReader,
ITraceDataWriter
[<ComVisibleAttribute(false)>]
type TraceReaderWriter =
class
inherit TraceReader
interface ITraceDataWriter
end
public class TraceReaderWriter extends TraceReader implements ITraceDataWriter
Comentários
The TraceReaderWriter class provides trace data writing functionality that is common to both the TraceTable class and the TraceFile class.
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Trace. . :: . .TraceReader
Microsoft.SqlServer.Management.Trace..::..TraceReaderWriter
Microsoft.SqlServer.Management.Trace. . :: . .TraceFile
Microsoft.SqlServer.Management.Trace. . :: . .TraceTable
Segurança de thread
Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.
Consulte também