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-cn,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