TechNet
Expand All
The document is archived and information here might be outdated

PipelineBuffer.EndOfRowset Property

Gets a value indicating whether the PipelineBuffer has reached the end of its collection of rows.

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

public bool EndOfRowset { get; }
/** @property */
public boolean get_EndOfRowset ()

public function get EndOfRowset () : boolean

Property Value

true if there are more rows coming from the upstream component; otherwise, false.

The EndOfRowset property indicates whether the upstream component has finished adding rows to its output buffer


The following example shows a loop that checks the EndOfRowset property to determine whether there are additional rows in the PipelineBuffer.

while( !buffer.EndOfRowset )
{
While(buffer.NextRow())
{
for(int x=0; x < buffer.ColumnCount; x++)
{
///TODO: Read or write the data in the buffer
///column.
}
}
}

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Show:
© 2016 Microsoft