IDTSBuffer100.GetRowCount 方法

定义

获取存储在 IDTSBuffer100. 中的行数。

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

返回

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

注解

GetRowCount 方法返回缓冲区中包含的行数。 如果缓冲区是输出缓冲区,即由PrimeOutput该方法(Microsoft)提供给组件的缓冲区。SqlServer.Dts.HResults.DTS_E_BUFFERISPRIMEOUTPUT例外被提出。 这是因为该系统 IDTSBufferManager100 将完整输出缓冲区的行顺序排列到图中的下游组件,因此无法可靠地报告输出缓冲区的行数。

适用于