Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AdomdDataReader.IsDBNull Method

Returns a Boolean that contains a value indicating whether the column is set to null.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
public bool IsDBNull(
	int ordinal
)

Parameters

ordinal
Type: System.Int32
The zero-based ordinal position of the column to find.

Return Value

Type: System.Boolean
A Boolean containing true if the column is set to null; false otherwise.

Implements

IDataRecord.IsDBNull(Int32)

Call this method to check for null column values before calling the typed methods used to retrieve column values (for example, GetByte, GetChar, and so on), to avoid raising an error.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.