Share via


IDTSBufferManager100.GetColumnInfo Method

Gets the DTP_BUFFCOL structure for a column in a specified buffer definition.

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

Syntax

'Declaration
Sub GetColumnInfo ( _
    hBufferType As Integer, _
    hCol As Integer, _
    <OutAttribute> ByRef pCol As DTP_BUFFCOL _
)
'Usage
Dim instance As IDTSBufferManager100
Dim hBufferType As Integer
Dim hCol As Integer
Dim pCol As DTP_BUFFCOL

instance.GetColumnInfo(hBufferType, hCol, _
    pCol)
void GetColumnInfo(
    int hBufferType,
    int hCol,
    out DTP_BUFFCOL pCol
)
void GetColumnInfo(
    [InAttribute] int hBufferType, 
    [InAttribute] int hCol, 
    [InAttribute] [OutAttribute] DTP_BUFFCOL% pCol
)
abstract GetColumnInfo : 
        hBufferType:int * 
        hCol:int * 
        pCol:DTP_BUFFCOL byref -> unit 
function GetColumnInfo(
    hBufferType : int, 
    hCol : int, 
    pCol : DTP_BUFFCOL
)

Parameters

  • hBufferType
    Type: System.Int32
    The ID of the buffer definition.

Remarks

This method retrieves the DTP_BUFFCOL structure for the column specified by the hCol parameter in the specified buffer type definition. If the buffer definition or the column is not found, an E_INVALIDARG is returned.