GetColumnInfo 方法
Gets the DTP_BUFFCOL structure for a column in the specified buffer definition.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Public Overridable Sub GetColumnInfo ( _
hBufferType As Integer, _
hCol As Integer, _
<OutAttribute> ByRef pCol As DTP_BUFFCOL _
)
'用途
Dim instance As DTSBufferManagerClass
Dim hBufferType As Integer
Dim hCol As Integer
Dim pCol As DTP_BUFFCOL
instance.GetColumnInfo(hBufferType, hCol, _
pCol)
public virtual void GetColumnInfo(
int hBufferType,
int hCol,
out DTP_BUFFCOL pCol
)
public:
virtual void GetColumnInfo(
[InAttribute] int hBufferType,
[InAttribute] int hCol,
[InAttribute] [OutAttribute] DTP_BUFFCOL% pCol
)
abstract GetColumnInfo :
hBufferType:int *
hCol:int *
pCol:DTP_BUFFCOL byref -> unit
override GetColumnInfo :
hBufferType:int *
hCol:int *
pCol:DTP_BUFFCOL byref -> unit
public 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.
實作
IDTSBufferManager100. . :: . .GetColumnInfo(Int32, Int32, DTP_BUFFCOL%)
備註
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 error occurs.