Compartir a través de


GetDataByRef Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxis

'Declaración
Function GetDataByRef ( _
    hRow As Integer, _
    hCol As Integer _
) As DTP_VARIANT
'Uso
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

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .DTP_VARIANT

Nota

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

The DTP_VARIANT that contains the data in the column.

Comentarios

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.