GetColumnInfo méthode
Gets the DTP_BUFFCOL structure for a column in a specified buffer definition.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (dans Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntaxe
'Déclaration
Sub GetColumnInfo ( _
hBufferType As Integer, _
hCol As Integer, _
<OutAttribute> ByRef pCol As DTP_BUFFCOL _
)
'Utilisation
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
)
Paramètres
- 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.
Notes
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.