Share via


IStream.RemoteRead Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub RemoteRead ( _
    <OutAttribute> ByRef pv As Byte, _
    cb As UInteger, _
    <OutAttribute> ByRef pcbRead As UInteger _
)
'Usage
Dim instance As IStream 
Dim pv As Byte 
Dim cb As UInteger 
Dim pcbRead As UInteger

instance.RemoteRead(pv, cb, pcbRead)
void RemoteRead(
    out byte pv,
    uint cb,
    out uint pcbRead
)
void RemoteRead(
    [OutAttribute] unsigned char% pv, 
    [InAttribute] unsigned int cb, 
    [OutAttribute] unsigned int% pcbRead
)
abstract RemoteRead : 
        pv:byte byref * 
        cb:uint32 * 
        pcbRead:uint32 byref -> unit
function RemoteRead(
    pv : byte, 
    cb : uint, 
    pcbRead : uint
)

Parameters

  • pv
    Type: System.Byte%
    When this method returns, contains the data read from the stream. This parameter is passed uninitialized.
  • cb
    Type: System.UInt32
    The number of bytes to read from the stream object.
  • pcbRead
    Type: System.UInt32%
    A pointer to a ULONG variable that receives the actual number of bytes read from the stream object.

See Also

Reference

IStream Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace