Freigeben über


IDTSBufferManager100.GetColumnCount-Methode

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

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Function GetColumnCount ( _
    hBufferType As Integer _
) As UInteger
'Usage
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

Parameter

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

Rückgabewert

Typ: System.UInt32
An integer that specifies the number of columns defined for the registered IDTSBuffer100 object.

Hinweise

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.

Siehe auch

Verweis

IDTSBufferManager100 Schnittstelle

Microsoft.SqlServer.Dts.Pipeline.Wrapper-Namespace