Share via


BinarySourceBase Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public MustInherit Class BinarySourceBase _
    Implements IBinarySource
'Usage
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

The BinarySourceBase type exposes the following members.

Constructors

  Name Description
Protected method BinarySourceBase Initializes an object of the BinarySourceBase class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContentReader Gets the I/O file stream.
Public method GetContents Gets the contents of the file stream in a byte array.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Using the BinarySourceBase object, you can:

  • Get the I/O file stream.

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.