Compartilhar via


Método IDTSBuffer100.GetRowCount

Gets the number of rows stored in an IDTSBuffer100.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxe

'Declaração
Function GetRowCount As UInteger
'Uso
Dim instance As IDTSBuffer100 
Dim returnValue As UInteger 

returnValue = instance.GetRowCount()
uint GetRowCount()
unsigned int GetRowCount()
abstract GetRowCount : unit -> uint32
function GetRowCount() : uint

Valor de retorno

Tipo: System.UInt32
An unsigned integer that contains the number of rows in the buffer.

Comentários

The GetRowCount method returns the number of rows contained in the buffer. If the buffer is an output buffer, which is one that is provided to the component by the PrimeOutput method, a Microsoft.SqlServer.Dts.HResults.DTS_E_BUFFERISPRIMEOUTPUT exception is thrown. This occurs because the IDTSBufferManager100 shuffles the rows in the full output buffer to downstream components in the graph, so there is no way to reliably report the number of rows in the output buffer.

Consulte também

Referência

IDTSBuffer100 Interface

Namespace Microsoft.SqlServer.Dts.Pipeline.Wrapper