共用方式為


GetBoolean 方法

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

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Function GetBoolean ( _
    ordinal As Integer _
) As Boolean
'用途
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

參數

傳回值

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

實作

IDataRecord. . :: . .GetBoolean(Int32)