AdomdDataReader.GetByte Method

Returns a Byte that contains the value from the specified column.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function GetByte ( _
    ordinal As Integer _
) As Byte
'Usage
Dim instance As AdomdDataReader 
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
    The zero-based ordinal position of the column to be retrieved.

Return Value

Type: System.Byte
A Byte that contains the value of the specified column.

Implements

IDataRecord.GetByte(Int32)

See Also

Reference

AdomdDataReader Class

Microsoft.AnalysisServices.AdomdClient Namespace