BinarySourceBase Class

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


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

public abstract class BinarySourceBase : IBinarySource

The BinarySourceBase type exposes the following members.

Protected methodBinarySourceBaseInitializes an object of the BinarySourceBase class.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetContentReaderGets the I/O file stream.
Public methodGetContentsGets the contents of the file stream in a byte array.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Using the BinarySourceBase object, you can:

  • Get the I/O file stream.

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

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