Поделиться через


Метод GetDataByRef

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

Пространство имен:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка:  Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)

Синтаксис

'Декларация
Function GetDataByRef ( _
    hRow As Integer, _
    hCol As Integer _
) As DTP_VARIANT
'Применение
Dim instance As IDTSBuffer100
Dim hRow As Integer
Dim hCol As Integer
Dim returnValue As DTP_VARIANT

returnValue = instance.GetDataByRef(hRow, _
    hCol)
DTP_VARIANT GetDataByRef(
    int hRow,
    int hCol
)
DTP_VARIANT GetDataByRef(
    [InAttribute] int hRow, 
    [InAttribute] int hCol
)
abstract GetDataByRef : 
        hRow:int * 
        hCol:int -> DTP_VARIANT 
function GetDataByRef(
    hRow : int, 
    hCol : int
) : DTP_VARIANT

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .DTP_VARIANT

ПримечаниеПримечание

В будущей версии 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.