IDTSBuffer100::GetBLOBLength Method (Int32, Int32, UInt32%)

 

Gets the number of bytes contained in a column in an IDTSBuffer100.

Namespace:   Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

void GetBLOBLength(
	int hRow,
	int hCol,
	[OutAttribute] unsigned int% pdwBytes
)

Parameters

hRow
Type: System::Int32

The handle of the row.

hCol
Type: System::Int32

The handle of the column in the row.

pdwBytes
Type: System::UInt32%

An out parameter that contains the number of bytes in the row.

The GetBLOBLength method is used to determine the number of bytes in a column that contains a binary large object (BLOB) data type, such as a DT_IMAGE. This method is typically called before a call to the GetBLOBData method. The third parameter to GetBLOBData is the number of bytes to retrieve from the BLOB. You call this method before calling GetBLOBData to retrieve all the bytes in a BLOB column.

Return to top
Show: