Поделиться через


Метод 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

Параметры

Возвращаемое значение

Тип: System. . :: . .Boolean
true if the column contains nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic); 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 null Nothing nullptr unit пустая ссылка (Nothing в Visual Basic) .