We recommend using Visual Studio 2017

IExtraSource Interface

The IExtraSource type is an interface that provides I/O stream access to a miscellaneous file in the DAC package.

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

public interface IExtraSource : IBinarySource, 

The IExtraSource type exposes the following members.

Public propertyFileNameGets the name of the file.
Public propertySizeGets the size, in kilobytes, of the item implementing the ISizeItem interface. (Inherited from ISizeItem.)
Public propertyTagsGets the collection of tags associated with the extra source file.

Public methodGetContentReaderGets the I/O file stream. (Inherited from IBinarySource.)
Public methodGetContentsGets the contents of the file stream in a byte array. (Inherited from IBinarySource.)

Using the IExtraSource object, you can:

  • Get the I/O file stream.

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

  • Gets the name of the file.