PipelineBuffer.NextRow Method
Advances the PipelineBuffer to the next row.
네임스페이스: Microsoft.SqlServer.Dts.Pipeline
어셈블리: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)
구문
‘선언
Public Function NextRow As Boolean
public bool NextRow ()
public:
bool NextRow ()
public boolean NextRow ()
public function NextRow () : 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 )
{
if(! buffer.EndOfRowset)
{
while( buffer.NextRow() )
{
// TODO Process the row.
}
}
}
Public Overrides Sub ProcessInput(ByVal inputID As Integer, ByVal buffer As PipelineBuffer)
If Not buffer.EndOfRowset Then
While buffer.NextRow
' TODO Process the row.
End While
End If
End Sub
스레드 보안
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