Share via


IStream.RemoteWrite Method

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

Writes a specified number of bytes into the stream object starting at the current seek pointer.

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

Syntax

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

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

Parameters

  • pv
    Type: System.Byte%
    The buffer to write this stream to.
  • cb
    Type: System.UInt32
    The number of bytes to write to the stream.
  • pcbWritten
    Type: System.UInt32%
    On successful return, contains the actual number of bytes written to the stream object.

See Also

Reference

IStream Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace