IStream.RemoteCopyTo Method

Definition

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

public:
 void RemoteCopyTo(Microsoft::SqlServer::Dts::Runtime::Wrapper::IStream ^ pstm, Microsoft::SqlServer::Dts::Runtime::Wrapper::_ULARGE_INTEGER cb, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::_ULARGE_INTEGER % pcbRead, [Runtime::InteropServices::Out] Microsoft::SqlServer::Dts::Runtime::Wrapper::_ULARGE_INTEGER % pcbWritten);
public void RemoteCopyTo (Microsoft.SqlServer.Dts.Runtime.Wrapper.IStream pstm, Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER cb, out Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER pcbRead, out Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER pcbWritten);
abstract member RemoteCopyTo : Microsoft.SqlServer.Dts.Runtime.Wrapper.IStream * Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER * _ULARGE_INTEGER * _ULARGE_INTEGER -> unit
Public Sub RemoteCopyTo (pstm As IStream, cb As _ULARGE_INTEGER, ByRef pcbRead As _ULARGE_INTEGER, ByRef pcbWritten As _ULARGE_INTEGER)

Parameters

pstm
IStream

A pointer to the destination stream. The stream pointed to be pstm can be a new stream or a clone of the source stream.

cb
_ULARGE_INTEGER

The number of bytes to copy from the source stream.

pcbRead
_ULARGE_INTEGER

A pointer to the location where this method writes the actual number of bytes read from the source.

pcbWritten
_ULARGE_INTEGER

A pointer to the location where this method writes the actual number of bytes written to the destination.

Applies to