Condividi tramite


Metodo PipelineBuffer.IsNull

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Sintassi

'Dichiarazione
Public Function IsNull ( _
    columnIndex As Integer _
) As Boolean
'Utilizzo
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

Parametri

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

Valore restituito

Tipo: System.Boolean
true if the column contains nullriferimento Null (Nothing in Visual Basic).; otherwise, false.

Osservazioni

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 nullriferimento Null (Nothing in Visual Basic)..

Vedere anche

Riferimento

PipelineBuffer Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Pipeline