Share via


AdomdDataReader.GetBoolean Method

Returns a Boolean 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 GetBoolean ( _
    ordinal As Integer _
) As Boolean
'Usage
Dim instance As AdomdDataReader
Dim ordinal As Integer
Dim returnValue As Boolean

returnValue = instance.GetBoolean(ordinal)
public bool GetBoolean(
    int ordinal
)
public:
virtual bool GetBoolean(
    int ordinal
) sealed
abstract GetBoolean : 
        ordinal:int -> bool 
override GetBoolean : 
        ordinal:int -> bool 
public final function GetBoolean(
    ordinal : int
) : boolean

Parameters

  • ordinal
    Type: System.Int32
    The zero-based ordinal position of the column to be retrieved.

Return Value

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

Implements

IDataRecord.GetBoolean(Int32)