Classe TraceReader
The TraceReader class is an abstract Trace Object class that is used in the construction of the TraceServer class, 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 TraceReader _
Implements IDataReader, IDisposable, IDataRecord
'Uso
Dim instance As TraceReader
[ComVisibleAttribute(false)]
public class TraceReader : IDataReader,
IDisposable, IDataRecord
[ComVisibleAttribute(false)]
public ref class TraceReader : IDataReader,
IDisposable, IDataRecord
[<ComVisibleAttribute(false)>]
type TraceReader =
class
interface IDataReader
interface IDisposable
interface IDataRecord
end
public class TraceReader implements IDataReader, IDisposable, IDataRecord
Comentários
The TraceReader class provides trace data reading functionality and access to data that is common to both the TraceServer class, the TraceTable class, and the TraceFile class.
The trace data reading functionality is also available on the TraceReaderWriter class, which is derived from the TraceReader class and is used in the construction of the TraceTable class and 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. . :: . .TraceServer
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