Поделиться через


Класс 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.