IStream 接口

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

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

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
<GuidAttribute("0000000C-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IStream _
    Inherits ISequentialStream
用法
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

IStream 类型公开以下成员。

方法

  名称 说明
公共方法 Clone 基础结构。Creates a new stream object with its own seek pointer that references the same bytes as the original stream.
公共方法 Commit 基础结构。Ensures that any changes made to a stream object that is open in transacted mode are reflected in the parent storage.
公共方法 LockRegion 基础结构。Restricts access to a specified range of bytes in the stream.
公共方法 RemoteCopyTo 基础结构。Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
公共方法 RemoteRead 基础结构。Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.
公共方法 RemoteSeek 基础结构。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 基础结构。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 基础结构。Sets the size of the stream object.
公共方法 Stat 基础结构。Retrieves the tagSTATSTG structure for this stream.
公共方法 UnlockRegion 基础结构。Removes the access restriction on a range of bytes previously restricted with the LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, UInt32) method.

页首

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间