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
- ordinal
Type: System.Int32
An Int32 value that specifies the index of the field.
Return Value
Type: System.Data.IDataReader
An IDataReader system object that specifies a remote data structure.
Implements
Examples
See Also
Reference
Microsoft.SqlServer.Management.Trace Namespace