共用方式為


IDTSBufferManager100.GetColumnCount 方法

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

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Function GetColumnCount ( _
    hBufferType As Integer _
) As UInteger
'用途
Dim instance As IDTSBufferManager100 
Dim hBufferType As Integer 
Dim returnValue As UInteger 

returnValue = instance.GetColumnCount(hBufferType)
uint GetColumnCount(
    int hBufferType
)
unsigned int GetColumnCount(
    [InAttribute] int hBufferType
)
abstract GetColumnCount : 
        hBufferType:int -> uint32
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.

備註

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.

請參閱

參考

IDTSBufferManager100 介面

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