IDTSBufferManager100.GetColumnCount Method (Int32)

 

Applies To: SQL Server 2016 Preview

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

[DispIdAttribute(123)]
uint GetColumnCount(
    int hBufferType
)
[DispIdAttribute(123)]
unsigned int GetColumnCount(
    int hBufferType
)
[<DispIdAttribute(123)>]
abstract GetColumnCount : 
        hBufferType:int -> uint32
<DispIdAttribute(123)>
Function GetColumnCount (
    hBufferType As Integer
) As UInteger

Parameters

  • hBufferType
    Type: System.Int32

    The ID of the registered buffer.

Return Value

Type: System.UInt32

An integer that specifies the number of columns defined for the registered IDTSBuffer100 object.

Remarks

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.

See Also

IDTSBufferManager100 Interface
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace

Return to top