Метод 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