共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。