Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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, 
	ISizeItem

The IExtraSource type exposes the following members.

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

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

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.

Show:
© 2015 Microsoft