PipelineBuffer.IsNull 메서드

Checks to see if the data in a buffer column is null.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline
어셈블리:  Microsoft.SqlServer.PipelineHost(Microsoft.SqlServer.PipelineHost.dll)

구문

‘선언
Public Function IsNull ( _
    columnIndex As Integer _
) As Boolean
‘사용 방법
Dim instance As PipelineBuffer 
Dim columnIndex As Integer 
Dim returnValue As Boolean 

returnValue = instance.IsNull(columnIndex)
public bool IsNull(
    int columnIndex
)
public:
bool IsNull(
    int columnIndex
)
member IsNull : 
        columnIndex:int -> bool
public function IsNull(
    columnIndex : int
) : boolean

매개 변수

  • columnIndex
    유형: System.Int32
    The index of the column in the buffer row.

반환 값

유형: System.Boolean
true if the column contains nullnull 참조(Visual Basic에서는 Nothing); otherwise, false.

주의

It is recommended that you call the IsNull method prior to calling a data type accessor method, such as GetBoolean, because the PipelineBuffer will produce a ColumnIsNullException if the column is nullnull 참조(Visual Basic에서는 Nothing).

참고 항목

참조

PipelineBuffer 클래스

Microsoft.SqlServer.Dts.Pipeline 네임스페이스