IDTSBuffer100::GetDataByRef Method (Int32, Int32)

 

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

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

DTP_VARIANT GetDataByRef(
	int hRow,
	int hCol
)

Parameters

hRow
Type: System::Int32

The handle of the row.

hCol
Type: System::Int32

The handle of the column.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper::DTP_VARIANT
System_CAPS_noteNote

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.

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.

Return to top
Show: