DTSBufferManagerClass.GetColumnCount(Int32) 方法

定義

取得指定註冊緩衝區類型的欄位數量。

public:
 virtual System::UInt32 GetColumnCount(int hBufferType) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSBufferManager100::GetColumnCount;
public virtual uint GetColumnCount(int hBufferType);
abstract member GetColumnCount : int -> uint32
override this.GetColumnCount : int -> uint32
Public Overridable Function GetColumnCount (hBufferType As Integer) As UInteger

參數

hBufferType
Int32

註冊緩衝區的ID。

傳回

一個整數,指定註冊物件所定義 IDTSBuffer100 的欄位數量。

實作

備註

該方法會GetColumnCount回傳由hBufferType參數識別的IDTSBuffer100物件所定義的欄位數量。 若不存在由 指定的 hBufferType 緩衝區定義,則會發生E_INVALIDARG錯誤。

適用於