Share via


IDTSBuffer90.GetBLOBLength Method

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

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

Syntax

'Declaration
Sub GetBLOBLength ( _
    <InAttribute> hRow As Integer, _
    <InAttribute> hCol As Integer, _
    <OutAttribute> ByRef pdwBytes As UInteger _
)
void GetBLOBLength (
    [InAttribute] int hRow,
    [InAttribute] int hCol,
    out uint pdwBytes
)
void GetBLOBLength (
    [InAttribute] int hRow, 
    [InAttribute] int hCol, 
    [OutAttribute] unsigned int% pdwBytes
)
void GetBLOBLength (
    /** @attribute InAttribute() */ int hRow, 
    /** @attribute InAttribute() */ int hCol, 
    /** @attribute OutAttribute() */ /** @ref */ UInt32 pdwBytes
)
JScript does not support passing value-type arguments by reference.

Parameters

  • hRow
    The handle of the row.
  • hCol
    The handle of the column in the row.
  • pdwBytes
    An out parameter that contains the number of bytes in the row.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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