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
- pstm
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.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
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER
The number of bytes to copy from the source stream.
- pcbRead
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER%
A pointer to the location where this method writes the actual number of bytes read from the source.
- pcbWritten
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper._ULARGE_INTEGER%
A pointer to the location where this method writes the actual number of bytes written to the destination.