Aracılığıyla paylaş


PipelineBuffer.NextRow Yöntemi

İlerletir PipelineBuffer sonraki satır.

Ad Alanı:  Microsoft.SqlServer.Dts.Pipeline
Derleme:  Microsoft.SqlServer.PipelineHost (Microsoft.SqlServer.PipelineHost içinde.dll)

Sözdizimi

'Bildirim
Public Function NextRow As Boolean
'Kullanım
Dim instance As PipelineBuffer
Dim returnValue As Boolean

returnValue = instance.NextRow()
public bool NextRow()
public:
bool NextRow()
member NextRow : unit -> bool 
public function NextRow() : boolean

Dönüş Değeri

Tür: System.Boolean
doğru arabellek sonraki satıra; Gelişmiş Aksi takdirde, yanlış.

Açıklamalar

NextRow yöntem geliştirmeleri PipelineBuffer sonraki satıra kendi koleksiyon.Hayır daha fazla kullanılabilir satır kadar true değerini döndürür.

Örnekler

Aşağıdaki kod örneği döngüleri yoluyla giriş satırları PipelineBuffer kullanarak NextRow yöntem.

public override void ProcessInput( int inputID, PipelineBuffer buffer )
{
  while( buffer.NextRow() )
  {
     // TODO Process the row.
  }
}
Public  Overrides Sub ProcessInput(ByVal inputID As Integer, ByVal buffer As PipelineBuffer) 
 While buffer.NextRow 
  ' TODO Process the row.
 End While 
End Sub