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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft