DTSBufferManagerClass.GetColumnCount 方法

Gets the number of columns in the specified registered buffer type.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Public Overridable Function GetColumnCount ( _
    hBufferType As Integer _
) As UInteger
用法
Dim instance As DTSBufferManagerClass 
Dim hBufferType As Integer 
Dim returnValue As UInteger 

returnValue = instance.GetColumnCount(hBufferType)
public virtual uint GetColumnCount(
    int hBufferType
)
public:
virtual unsigned int GetColumnCount(
    [InAttribute] int hBufferType
)
abstract GetColumnCount : 
        hBufferType:int -> uint32  
override GetColumnCount : 
        hBufferType:int -> uint32
public function GetColumnCount(
    hBufferType : int
) : uint

参数

  • hBufferType
    类型:System.Int32
    The ID of the registered buffer.

返回值

类型:System.UInt32
An Integer that specifies the number of columns defined for the registered IDTSBuffer100 object.

实现

IDTSBufferManager100.GetColumnCount(Int32)

注释

The GetColumnCount method returns the number of columns defined for the IDTSBuffer100 object identified by the hBufferType parameter. If the buffer definition specified by hBufferType does not exist, an E_INVALIDARG error occurs.

请参阅

参考

DTSBufferManagerClass 类

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间