Share via


IStream.RemoteCopyTo Method

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

Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.

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

Syntax

'Declaration
Sub RemoteCopyTo ( _
    pstm As IStream, _
    cb As _ULARGE_INTEGER, _
    <OutAttribute> ByRef pcbRead As _ULARGE_INTEGER, _
    <OutAttribute> ByRef pcbWritten As _ULARGE_INTEGER _
)
'Usage
Dim instance As IStream 
Dim pstm As IStream 
Dim cb As _ULARGE_INTEGER 
Dim pcbRead As _ULARGE_INTEGER 
Dim pcbWritten As _ULARGE_INTEGER

instance.RemoteCopyTo(pstm, cb, pcbRead, _
    pcbWritten)
void RemoteCopyTo(
    IStream pstm,
    _ULARGE_INTEGER cb,
    out _ULARGE_INTEGER pcbRead,
    out _ULARGE_INTEGER pcbWritten
)
void RemoteCopyTo(
    [InAttribute] IStream^ pstm, 
    [InAttribute] _ULARGE_INTEGER cb, 
    [OutAttribute] _ULARGE_INTEGER% pcbRead, 
    [OutAttribute] _ULARGE_INTEGER% pcbWritten
)
abstract RemoteCopyTo : 
        pstm:IStream * 
        cb:_ULARGE_INTEGER * 
        pcbRead:_ULARGE_INTEGER byref * 
        pcbWritten:_ULARGE_INTEGER byref -> unit
function RemoteCopyTo(
    pstm : IStream, 
    cb : _ULARGE_INTEGER, 
    pcbRead : _ULARGE_INTEGER, 
    pcbWritten : _ULARGE_INTEGER
)

Parameters

See Also

Reference

IStream Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace