Compartir a través de


IDTSBuffer90.GetRowCount Method

Gets the number of rows stored in an IDTSBuffer90.

Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Sintaxis

'Declaración
Function GetRowCount As UInteger
uint GetRowCount ()
unsigned int GetRowCount ()
UInt32 GetRowCount ()
function GetRowCount () : uint

Valor devuelto

An unsigned integer that contains the number of rows in the buffer.

Notas

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 IDTSBufferManager90 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.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace