GetColumnInfo 方法
Gets the DTP_BUFFCOL structure for a column in a specified buffer definition.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Sub GetColumnInfo ( _
hBufferType As Integer, _
hCol As Integer, _
<OutAttribute> ByRef pCol As DTP_BUFFCOL _
)
'用途
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
)
參數
- hBufferType
型別:System. . :: . .Int32
The ID of the buffer definition.
- hCol
型別:System. . :: . .Int32
The column handle.
- pCol
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .DTP_BUFFCOL%
A reference parameter where the DTP_BUFFCOL for the column is stored.
備註
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.