Compartilhar via


Método TraceReader.Read

Reads the trace record.

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxe

'Declaração
Public Function Read As Boolean
'Uso
Dim instance As TraceReader 
Dim returnValue As Boolean 

returnValue = instance.Read()
public bool Read()
public:
virtual bool Read() sealed
abstract Read : unit -> bool  
override Read : unit -> bool
public final function Read() : boolean

Valor de retorno

Tipo: System.Boolean
A Boolean value that specifies whether the method succeeded in reading the trace record.If True, the trace was read successfully.If False, the trace was not read.

Implementa

IDataReader.Read()

Exemplos

Readme_Tracer

Consulte também

Referência

TraceReader Classe

Namespace Microsoft.SqlServer.Management.Trace

Outros recursos

Sinalizadores de rastreamento (Transact-SQL)

Modelos e permissões do SQL Server Profiler