IsNull Método
Checks to see if the data in a buffer column is null.
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline
Ensamblado: Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)
Sintaxis
'Declaración
Public Function IsNull ( _
columnIndex As Integer _
) As Boolean
'Uso
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
Parámetros
- columnIndex
Tipo: System. . :: . .Int32
The index of the column in the buffer row.
Valor devuelto
Tipo: System. . :: . .Boolean
true if the column contains nullNothingnullptrunites una referencia NULL (Nothing en Visual Basic).; otherwise, false.
Notas
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 es una referencia NULL (Nothing en Visual Basic). .
Vea también