TraceReader.Read Method

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

Return Value

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

Implements

IDataReader.Read()

Examples

Readme_Tracer