IDTSBufferManager100.GetColumnCount(Int32) 方法

定义

获取指定注册缓冲区类型的列数。

public:
 System::UInt32 GetColumnCount(int hBufferType);
[System.Runtime.InteropServices.DispId(123)]
public uint GetColumnCount (int hBufferType);
[<System.Runtime.InteropServices.DispId(123)>]
abstract member GetColumnCount : int -> uint32
Public Function GetColumnCount (hBufferType As Integer) As UInteger

参数

hBufferType
Int32

已注册的缓冲区的 ID。

返回

一个指定为已注册的 IDTSBuffer100 对象定义的列数的整数。

属性

注解

该方法 GetColumnCount 返回为 IDTSBuffer100 参数标识 hBufferType 的对象定义的列数。 如果不存在由 hBufferType 缓冲区定义指定的缓冲区定义,则会发生E_INVALIDARG错误。

适用于