Export (0) Print
Expand All

PipelineBuffer.NextRow Method

Advances the PipelineBuffer to the next row.

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

public bool NextRow()

Return Value

Type: Boolean
true if the buffer was advanced to the next row; otherwise, false.

The NextRow method advances the PipelineBuffer to the next row in its collection. It returns true until there are no more available rows.

The following code example loops through the rows of an input PipelineBuffer by using the NextRow method.

public override void ProcessInput( int inputID, PipelineBuffer buffer )
{
  while( buffer.NextRow() )
  {
     // TODO Process the row.
  }
}
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft