TechNet
Export (0) Print
Expand All

PipelineBuffer.GetBlobLength Method (Int32)

 

Gets the number of bytes contained in a binary large object (BLOB) PipelineBuffer column.

This API is not CLS-compliant.

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

[CLSCompliantAttribute(false)]
public uint GetBlobLength(
	int columnIndex
)

Parameters

columnIndex
Type: System.Int32

The index of the column containing the BLOB.

Return Value

Type: System.UInt32

The number of bytes in the binary large object.

The GetBlobLength method is used to determine the number of bytes contained in a PipelineBuffer column containing a BLOB data type, such as a DT_IMAGE. This method is typically called prior to a call to the GetBlobData method. The third parameter to GetBlobData is the number of bytes to retrieve from the BLOB. You call GetBlobLength prior to GetBlobData when you want to retrieve all the bytes in a BLOB PipelineBuffer column.

Return to top
Show:
© 2016 Microsoft