IDTSBuffer90.GetDataByRef Method

(Feature deprecated, see Remarks.) Gets a pointer to the data stored in a column in an IDTSBuffer90.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

'宣告
Function GetDataByRef ( _
    <InAttribute> hRow As Integer, _
    <InAttribute> hCol As Integer _
) As DTP_VARIANT
DTP_VARIANT GetDataByRef (
    [InAttribute] int hRow,
    [InAttribute] int hCol
)
DTP_VARIANT GetDataByRef (
    [InAttribute] int hRow, 
    [InAttribute] int hCol
)
DTP_VARIANT GetDataByRef (
    /** @attribute InAttribute() */ int hRow, 
    /** @attribute InAttribute() */ int hCol
)
function GetDataByRef (
    hRow : int, 
    hCol : int
) : DTP_VARIANT

參數

  • hRow
    The handle of the row.
  • hCol
    The handle of the column.

傳回值

ms187223.note(zh-tw,SQL.90).gif附註:
未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。

The DTP_VARIANT that contains the data in the column.

備註

This method returns a pointer to the data stored in the column specified by the hCol parameter. This pointer is used to directly modify the data in the column specified by hCol instead of calling the GetData method, modifying the data, and then calling SetData.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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