共用方式為


GetColumnInfo 方法

Gets the DTP_BUFFCOL structure for the specified column in an IDTSBuffer100.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Sub GetColumnInfo ( _
    hCol As Integer, _
    <OutAttribute> ByRef pCol As DTP_BUFFCOL _
)
'用途
Dim instance As IDTSBuffer100
Dim hCol As Integer
Dim pCol As DTP_BUFFCOL

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

參數

備註

This method returns the DTP_BUFFCOL structure for the column in the IDTSBuffer100 specified by the hCol parameter. This structure contains metadata describing the column's data type properties.

Managed component developers do not call this method, but instead use the GetColumnInfo method of the managed PipelineBuffer class.