IDTSBuffer100.GetRowCount 方法

定义

public:
 System::UInt32 GetRowCount();
public uint GetRowCount ();
abstract member GetRowCount : unit -> uint32
Public Function GetRowCount () As UInteger

返回

UInt32

一个包含缓冲区中行数的无符号整数。

注解

GetRowCount 方法返回缓冲区中包含的行数。 如果缓冲区是输出缓冲区,则该缓冲区是由 PrimeOutput 方法提供给组件的输出缓冲区,则会引发 Microsoft.SqlServer.Dts.HResults.DTS_E_BUFFERISPRIMEOUTPUT 异常。 出现这种情况的原因是: IDTSBufferManager100 将完整输出缓冲区中的行洗牌为图形中的下游组件,因此无法可靠地报告输出缓冲区中的行数。

适用于