IDTSBuffer100.GetDataByRef(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
(Feature deprecated, see Remarks.) Gets a pointer to the data stored in a column in an IDTSBuffer100.
public:
Microsoft::SqlServer::Dts::Runtime::Wrapper::DTP_VARIANT GetDataByRef(int hRow, int hCol);
public Microsoft.SqlServer.Dts.Runtime.Wrapper.DTP_VARIANT GetDataByRef (int hRow, int hCol);
abstract member GetDataByRef : int * int -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTP_VARIANT
Public Function GetDataByRef (hRow As Integer, hCol As Integer) As DTP_VARIANT
Parameters
- hRow
- Int32
The handle of the row.
- hCol
- Int32
The handle of the column.
Returns
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.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.