PipelineBuffer.IsNull Method (Int32)


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

Namespace:   Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

public bool IsNull(
	int columnIndex


Type: System.Int32

The index of the column in the buffer row.

Return Value

Type: System.Boolean

true if the column contains null; 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.

Return to top