Freigeben über


IStream-Schnittstelle

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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

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

Syntax

'Declaration
<GuidAttribute("0000000C-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IStream _
    Inherits ISequentialStream
'Usage
Dim instance As IStream
[GuidAttribute("0000000C-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IStream : ISequentialStream
[GuidAttribute(L"0000000C-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IStream : ISequentialStream
[<GuidAttribute("0000000C-0000-0000-C000-000000000046")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IStream =  
    interface 
        interface ISequentialStream 
    end
public interface IStream extends ISequentialStream

Der IStream-Typ macht folgende Elemente verfügbar.

Methoden

  Name Beschreibung
Öffentliche Methode Clone Infrastruktur Creates a new stream object with its own seek pointer that references the same bytes as the original stream.
Öffentliche Methode Commit Infrastruktur Ensures that any changes made to a stream object that is open in transacted mode are reflected in the parent storage.
Öffentliche Methode LockRegion Infrastruktur Restricts access to a specified range of bytes in the stream.
Öffentliche Methode RemoteCopyTo Infrastruktur Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
Öffentliche Methode RemoteRead Infrastruktur Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.
Öffentliche Methode RemoteSeek Infrastruktur 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.
Öffentliche Methode RemoteWrite Infrastruktur Writes a specified number of bytes into the stream object starting at the current seek pointer.
Öffentliche Methode Revert Infrastruktur Discards all changes that have been made to a transacted stream since the last Commit(UInt32) call.
Öffentliche Methode SetSize Infrastruktur Sets the size of the stream object.
Öffentliche Methode Stat Infrastruktur Retrieves the tagSTATSTG structure for this stream.
Öffentliche Methode UnlockRegion Infrastruktur Removes the access restriction on a range of bytes previously restricted with the LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, UInt32) method.

Zum Anfang

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace