Share via


TraceReader.GetByte Method

Returns a Byte value from the record at the specified column position.

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

Syntax

'Declaration
Public Function GetByte ( _
    ordinal As Integer _
) As Byte
'Usage
Dim instance As TraceReader 
Dim ordinal As Integer 
Dim returnValue As Byte 

returnValue = instance.GetByte(ordinal)
public byte GetByte(
    int ordinal
)
public:
virtual unsigned char GetByte(
    int ordinal
) sealed
abstract GetByte : 
        ordinal:int -> byte  
override GetByte : 
        ordinal:int -> byte
public final function GetByte(
    ordinal : int
) : byte

Parameters

  • ordinal
    Type: System.Int32
    An Int32 value that specifies the column position at which to retrieve the value.

Return Value

Type: System.Byte
An Uint8 value that represents the data at the specified column position.

Implements

IDataRecord.GetByte(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