다음을 통해 공유


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