共用方式為


ISequentialStream.RemoteRead 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

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

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub RemoteRead ( _
    <OutAttribute> ByRef pv As Byte, _
    cb As UInteger, _
    <OutAttribute> ByRef pcbRead As UInteger _
)
'用途
Dim instance As ISequentialStream 
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
)

參數

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

請參閱

參考

ISequentialStream 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間