DTSBufferManagerClass.GetColumnInfo Method
Gets the DTP_BUFFCOL structure for a column in the specified buffer definition.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntax
'Declaration
Public Overridable Sub GetColumnInfo ( _
hBufferType As Integer, _
hCol As Integer, _
<OutAttribute> ByRef pCol As DTP_BUFFCOL _
)
'Usage
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
)
Parameters
- hBufferType
Type: System.Int32
The ID of the buffer definition.
- hCol
Type: System.Int32
The column handle.
- pCol
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTP_BUFFCOL%
A reference parameter where the DTP_BUFFCOL for the column is stored.
Implements
IDTSBufferManager100.GetColumnInfo(Int32, Int32, DTP_BUFFCOL%)
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 error occurs.