Ibahagi sa


IDTSBuffer100.GetDataByRef(Int32, Int32) Method

Definition

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::Sql2012::DTP_VARIANT GetDataByRef(int hRow, int hCol);
public Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTP_VARIANT GetDataByRef(int hRow, int hCol);
abstract member GetDataByRef : int * int -> Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2012.DTP_VARIANT
Public Function GetDataByRef (hRow As Integer, hCol As Integer) As DTP_VARIANT

Parameters

hRow
Int32
hCol
Int32

Returns

<block subset="none" type="note">

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

</block>

The DTP_VARIANT that contains the data in the column.

Remarks

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.

Applies to