SetData 方法
Assigns data to a column in an IDTSBuffer100.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Sub SetData ( _
hRow As Integer, _
hCol As Integer, _
ByRef pData As DTP_VARIANT _
)
'用途
Dim instance As IDTSBuffer100
Dim hRow As Integer
Dim hCol As Integer
Dim pData As DTP_VARIANT
instance.SetData(hRow, hCol, pData)
void SetData(
int hRow,
int hCol,
ref DTP_VARIANT pData
)
void SetData(
[InAttribute] int hRow,
[InAttribute] int hCol,
[InAttribute] DTP_VARIANT% pData
)
abstract SetData :
hRow:int *
hCol:int *
pData:DTP_VARIANT byref -> unit
function SetData(
hRow : int,
hCol : int,
pData : DTP_VARIANT
)
參數
- hRow
型別:System. . :: . .Int32
The handle of the row.
- hCol
型別:System. . :: . .Int32
The handle of the column.
- pData
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .DTP_VARIANT%
The DTP_VARIANT data assigned to the column.
備註
This method is used to assign data to the specified column in the IDTSBuffer100. Managed component developers do not use this method, but instead use the methods of the managed PipelineBuffer class.