Share via


TraceReader.GetData Method

Returns IDataReader object used when the field points to a remote data structure.

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

Syntax

'Declaration
Public Function GetData ( _
    ordinal As Integer _
) As IDataReader
'Usage
Dim instance As TraceReader 
Dim ordinal As Integer 
Dim returnValue As IDataReader 

returnValue = instance.GetData(ordinal)
public IDataReader GetData(
    int ordinal
)
public:
virtual IDataReader^ GetData(
    int ordinal
) sealed
abstract GetData : 
        ordinal:int -> IDataReader  
override GetData : 
        ordinal:int -> IDataReader
public final function GetData(
    ordinal : int
) : IDataReader

Parameters

Return Value

Type: System.Data.IDataReader
An IDataReader system object that specifies a remote data structure.

Implements

IDataRecord.GetData(Int32)

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