다음을 통해 공유


IDTSBuffer90.GetBLOBData Method

Retrieves an array of bytes from a binary large object (BLOB) stored in a column of a IDTSBuffer90.

네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

구문

‘선언
Sub GetBLOBData ( _
    <InAttribute> hRow As Integer, _
    <InAttribute> hCol As Integer, _
    <InAttribute> dwOffset As UInteger, _
    <InAttribute> ByRef lpPointer As Byte, _
    <InAttribute> dwLength As UInteger, _
    <OutAttribute> ByRef lpdwWritten As UInteger _
)
void GetBLOBData (
    [InAttribute] int hRow,
    [InAttribute] int hCol,
    [InAttribute] uint dwOffset,
    [InAttribute] ref byte lpPointer,
    [InAttribute] uint dwLength,
    out uint lpdwWritten
)
void GetBLOBData (
    [InAttribute] int hRow, 
    [InAttribute] int hCol, 
    [InAttribute] unsigned int dwOffset, 
    [InAttribute] unsigned char% lpPointer, 
    [InAttribute] unsigned int dwLength, 
    [OutAttribute] unsigned int% lpdwWritten
)
void GetBLOBData (
    /** @attribute InAttribute() */ int hRow, 
    /** @attribute InAttribute() */ int hCol, 
    /** @attribute InAttribute() */ UInt32 dwOffset, 
    /** @attribute InAttribute() */ /** @ref */ byte lpPointer, 
    /** @attribute InAttribute() */ UInt32 dwLength, 
    /** @attribute OutAttribute() */ /** @ref */ UInt32 lpdwWritten
)
JScript는 값 유형 인수를 참조로 전달하는 것을 지원하지 않습니다.

매개 변수

  • hRow
    The row handle.
  • hCol
    The column handle.
  • dwOffset
    The location in the byte data stored in the column from which to begin reading bytes.
  • lpPointer
    A reference parameter that points to the first byte in the array of bytes that are retrieved.
  • dwLength
    The number of bytes to retrieve from the column.
  • lpdwWritten
    An out parameter that indicates the number of bytes written to the lpPointer parameter.

주의

When retrieving data from a column that contains a BLOB, such as a DT_IMAGE, specify the starting location in the BLOB with the dwOffset parameter, and the number of bytes to retrieve in the dwLength parameter. Retrieving the data from a BLOB column in sections is recommended to avoid situations that may occur if the size of the data in the BLOB is larger than the available memory on the computer.

This method is used to retrieve a section of bytes from the column specified by the hCol parameter in the IDTSBuffer90. This method is typically used to recursively when sequentially reading BLOB sections.

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

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