Condividi tramite


Metodo TraceReader.GetByte

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

Spazio dei nomi  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintassi

'Dichiarazione
Public Function GetByte ( _
    ordinal As Integer _
) As Byte
'Utilizzo
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

Parametri

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

Valore restituito

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

Implementa

IDataRecord.GetByte(Int32)

Esempi

Readme_Tracer

Vedere anche

Riferimento

TraceReader Classe

Spazio dei nomi Microsoft.SqlServer.Management.Trace

Altre risorse

Flag di traccia (Transact-SQL)

Modelli e autorizzazioni di SQL Server Profiler