IDTSBuffer100.GetBLOBData(Int32, Int32, UInt32, Byte, UInt32, UInt32) Method

Definition

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

public:
 void GetBLOBData(int hRow, int hCol, System::UInt32 dwOffset, System::Byte % lpPointer, System::UInt32 dwLength, [Runtime::InteropServices::Out] System::UInt32 % lpdwWritten);
public void GetBLOBData (int hRow, int hCol, uint dwOffset, ref byte lpPointer, uint dwLength, out uint lpdwWritten);
abstract member GetBLOBData : int * int * uint32 * byte * uint32 * uint32 -> unit
Public Sub GetBLOBData (hRow As Integer, hCol As Integer, dwOffset As UInteger, ByRef lpPointer As Byte, dwLength As UInteger, ByRef lpdwWritten As UInteger)

Parameters

hRow
Int32

The row handle.

hCol
Int32

The column handle.

dwOffset
UInt32

The location in the byte data stored in the column from which to begin reading bytes.

lpPointer
Byte

A reference parameter that points to the first byte in the array of bytes that are retrieved.

dwLength
UInt32

The number of bytes to retrieve from the column.

lpdwWritten
UInt32

An out parameter that indicates the number of bytes written to the lpPointer parameter.

Remarks

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 IDTSBuffer100. This method is typically used to recursively when sequentially reading BLOB sections.

Applies to