다음을 통해 공유


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.dll의 Microsoft.SqlServer.DTSPipelineWrap

구문

‘선언
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.