IDTSBuffer100.GetRowCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of rows stored in an IDTSBuffer100.
public:
System::UInt32 GetRowCount();
public uint GetRowCount ();
abstract member GetRowCount : unit -> uint32
Public Function GetRowCount () As UInteger
Returns
An unsigned integer that contains the number of rows in the buffer.
Remarks
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.