Share via


TraceReader.NextResult Method

Moves to the next result in the trace.

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

Syntax

'Declaration
Public Function NextResult As Boolean
'Usage
Dim instance As TraceReader 
Dim returnValue As Boolean 

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

Return Value

Type: System.Boolean
A Boolean value that specifies whether the next result exists.If True, the next result exists.If False, the next result does not exist and the method failed.

Implements

IDataReader.NextResult()

Examples

Readme_Tracer

See Also

Reference

TraceReader Class

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions