Partilhar via


IDTSBuffer90.SetData Method

Assigns data to a column in an IDTSBuffer90.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Declaration
Sub SetData ( _
    <InAttribute> hRow As Integer, _
    <InAttribute> hCol As Integer, _
    <InAttribute> ByRef pData As DTP_VARIANT _
)
void SetData (
    [InAttribute] int hRow,
    [InAttribute] int hCol,
    [InAttribute] ref DTP_VARIANT pData
)
void SetData (
    [InAttribute] int hRow, 
    [InAttribute] int hCol, 
    [InAttribute] DTP_VARIANT% pData
)
void SetData (
    /** @attribute InAttribute() */ int hRow, 
    /** @attribute InAttribute() */ int hCol, 
    /** @attribute InAttribute() */ /** @ref */ DTP_VARIANT pData
)
JScript does not support passing value-type arguments by reference.

Parameters

  • hRow
    The handle of the row.
  • hCol
    The handle of the column.
  • pData
    The DTP_VARIANT data assigned to the column.

Remarks

This method is used to assign data to the specified column in the IDTSBuffer90. Managed component developers do not use this method, but instead use the methods of the managed PipelineBuffer class.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace