Bagikan melalui


IDTSBuffer100.GetBLOBStream Method

Gets an IStream interface used to access the binary large object (BLOB) stored in a column in an IDTSBuffer100.

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

Syntax

'Declaration
Function GetBLOBStream ( _
    hRow As Integer, _
    hCol As Integer _
) As IStream
'Usage
Dim instance As IDTSBuffer100
Dim hRow As Integer
Dim hCol As Integer
Dim returnValue As IStream

returnValue = instance.GetBLOBStream(hRow, _
    hCol)
IStream GetBLOBStream(
    int hRow,
    int hCol
)
IStream^ GetBLOBStream(
    [InAttribute] int hRow, 
    [InAttribute] int hCol
)
abstract GetBLOBStream : 
        hRow:int * 
        hCol:int -> IStream 
function GetBLOBStream(
    hRow : int, 
    hCol : int
) : IStream

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IStream
An IStream interface.

Remarks

This method is used to retrieve an IStream interface that can be used to read and write the data bytes in a binary large object (BLOB). When the IStream is finished manipulating the data using the stream, it can be inserted back into the column using the SetBLOBFromStream method.