Export (0) Print
Expand All

BinarySourceBase Class

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

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.

  NameDescription
Protected methodBinarySourceBaseInitializes an object of the BinarySourceBase class.
Top

  NameDescription
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.)
Top

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft