Export (0) Print
Expand All

PipelineBuffer.IsNull Method

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
)

Parameters

columnIndex
Type: Int32
The index of the column in the buffer row.

Return Value

Type: 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft