AdomdDataReader.IsDBNull 메서드

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

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv(msmgdsrv.dll)

구문

‘선언
Public Function IsDBNull ( _
    i As Integer _
) As Boolean
‘사용 방법
Dim instance As AdomdDataReader 
Dim i As Integer 
Dim returnValue As Boolean 

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

매개 변수

  • i
    유형: System.Int32
    The zero-based ordinal position of the column to find.

반환 값

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

구현

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.

참고 항목

참조

AdomdDataReader 클래스

Microsoft.AnalysisServices.AdomdServer 네임스페이스