IStream Interface

Definition

Provides an interface that supports reading and writing data to stream objects.

public interface class IStream : Microsoft::SqlServer::Dts::Runtime::Wrapper::ISequentialStream
[System.Runtime.InteropServices.Guid("0000000C-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IStream : Microsoft.SqlServer.Dts.Runtime.Wrapper.ISequentialStream
[<System.Runtime.InteropServices.Guid("0000000C-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IStream = interface
    interface ISequentialStream
Public Interface IStream
Implements ISequentialStream
Attributes
Implements

Methods

Clone(IStream)

Creates a new stream object with its own seek pointer that references the same bytes as the original stream.

Commit(UInt32)

Ensures that any changes made to a stream object that is open in transacted mode are reflected in the parent storage.

LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, UInt32)

Restricts access to a specified range of bytes in the stream.

RemoteCopyTo(IStream, _ULARGE_INTEGER, _ULARGE_INTEGER, _ULARGE_INTEGER)

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

RemoteRead(Byte, UInt32, UInt32)

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

RemoteSeek(_LARGE_INTEGER, UInt32, _ULARGE_INTEGER)

Changes the seek pointer to a new location relative to the beginning of the stream, to the end of the stream, or to the current seek pointer.

RemoteWrite(Byte, UInt32, UInt32)

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

Revert()

Discards all changes that have been made to a transacted stream since the last Commit(UInt32) call.

SetSize(_ULARGE_INTEGER)

Sets the size of the stream object.

Stat(tagSTATSTG, UInt32)

Retrieves the tagSTATSTG structure for this stream.

UnlockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, UInt32)

Removes the access restriction on a range of bytes previously restricted with the LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, UInt32) method.

Applies to