Partager via


IDTSBuffer90.GetDataByRef Method

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

Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntaxe

'Déclaration
Function GetDataByRef ( _
    <InAttribute> hRow As Integer, _
    <InAttribute> hCol As Integer _
) As DTP_VARIANT
DTP_VARIANT GetDataByRef (
    [InAttribute] int hRow,
    [InAttribute] int hCol
)
DTP_VARIANT GetDataByRef (
    [InAttribute] int hRow, 
    [InAttribute] int hCol
)
DTP_VARIANT GetDataByRef (
    /** @attribute InAttribute() */ int hRow, 
    /** @attribute InAttribute() */ int hCol
)
function GetDataByRef (
    hRow : int, 
    hCol : int
) : DTP_VARIANT

Paramètres

  • hRow
    The handle of the row.
  • hCol
    The handle of the column.

Valeur de retour

ms187223.note(fr-fr,SQL.90).gifRemarque :
Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The DTP_VARIANT that contains the data in the column.

Notes

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.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

IDTSBuffer90 Interface
IDTSBuffer90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace