Metodo IDTSBuffer100.GetDataByRef

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

'Dichiarazione
Function GetDataByRef ( _
    hRow As Integer, _
    hCol As Integer _
) As DTP_VARIANT
'Utilizzo
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

Parametri

Valore restituito

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

[!NOTA]

Questa funzionalità verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The DTP_VARIANT that contains the data in the column.

Osservazioni

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.

Vedere anche

Riferimento

IDTSBuffer100 Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Pipeline.Wrapper