Freigeben über


TraceReader.Read-Methode

Reads the trace record.

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

Syntax

'Declaration
Public Function Read As Boolean
'Usage
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

Rückgabewert

Typ: 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.

Implementiert

IDataReader.Read()

Beispiele

Readme_Tracer

Siehe auch

Verweis

TraceReader Klasse

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Ablaufverfolgungsflags (Transact-SQL)

Vorlagen und Berechtigungen in SQL Server Profiler