IDTSBuffer100.GetRowCount 方法

定义

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

返回

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

注解

GetRowCount方法返回缓冲区内的行数。 如果缓冲区是输出缓冲区,即方法向组件 PrimeOutput 提供的缓冲区, DTS_E_BUFFERISPRIMEOUTPUT 则会抛出异常。 这是因为该系统 IDTSBufferManager100 将完整输出缓冲区的行顺序排列到图中的下游组件,因此无法可靠地报告输出缓冲区的行数。

适用于