PipelineBuffer.EndOfRowset Property
Gets a value indicating whether the PipelineBuffer has reached the end of its collection of rows.
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)
語法
'宣告
Public ReadOnly Property EndOfRowset As Boolean
public bool EndOfRowset { get; }
public:
property bool EndOfRowset {
bool get ();
}
/** @property */
public boolean get_EndOfRowset ()
public function get EndOfRowset () : boolean
屬性值
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
PipelineBuffer Class
PipelineBuffer Members
Microsoft.SqlServer.Dts.Pipeline Namespace