BinarySourceBase 类

The BinarySourceBase type is a base class that provides access to the IBinarySource interface.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..BinarySourceBase
    Microsoft.SqlServer.Management.Dac. . :: . .FileExtraSource

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public MustInherit Class BinarySourceBase _
    Implements IBinarySource
用法
Dim instance As BinarySourceBase
public abstract class BinarySourceBase : IBinarySource
public ref class BinarySourceBase abstract : IBinarySource
[<AbstractClassAttribute>]
type BinarySourceBase =  
    class
        interface IBinarySource
    end
public abstract class BinarySourceBase implements IBinarySource

BinarySourceBase 类型公开以下成员。

构造函数

  名称 说明
受保护方法 BinarySourceBase Initializes an object of the BinarySourceBase class.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContentReader Gets the I/O file stream.
公共方法 GetContents Gets the contents of the file stream in a byte array.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

Using the BinarySourceBase object, you can:

  • Get the I/O file stream.

  • Get the contents of the file in a byte array.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。