Compartir a través de


IDTSBufferManager100.GetColumnCount Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxis

'Declaración
Function GetColumnCount ( _
    hBufferType As Integer _
) As UInteger
'Uso
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

Parámetros

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

Valor devuelto

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

Comentarios

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.

Vea también

Referencia

IDTSBufferManager100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline.Wrapper