IBinarySource Interface

The IBinarySource type is an interface that provides access to an I/O file stream.

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

public interface IBinarySource

The IBinarySource type exposes the following members.

Public methodGetContentReaderGets the I/O file stream.
Public methodGetContentsGets the contents of the file stream in a byte array.

Using the IBinarySource object, you can:

  • Get the I/O file stream.

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