GetSqlBoolean Method

Returns the value of the column at the specified index as type SqlBoolean.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides Function GetSqlBoolean ( _
    ordinal As Integer _
) As SqlBoolean
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim returnValue As SqlBoolean

returnValue = instance.GetSqlBoolean(ordinal)
public override SqlBoolean GetSqlBoolean(
    int ordinal
)
public:
virtual SqlBoolean GetSqlBoolean(
    int ordinal
) override
abstract GetSqlBoolean : 
        ordinal:int -> SqlBoolean 
override GetSqlBoolean : 
        ordinal:int -> SqlBoolean 
public override function GetSqlBoolean(
    ordinal : int
) : SqlBoolean

Parameters

Return Value

Type: System.Data.SqlTypes. . :: . .SqlBoolean
The value of the column at the specified index.

Remarks

An exception is thrown if no field exists at the specified ordinal position.

See Also

Reference

SqlCeResultSet Class

SqlCeResultSet Members

System.Data.SqlServerCe Namespace