Поделиться через


Интерфейс IExtraSource

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

Пространство имен:  Microsoft.SqlServer.Management.Dac
Сборка:  Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)

Синтаксис

'Декларация
Public Interface IExtraSource _
    Inherits IBinarySource, ISizeItem
'Применение
Dim instance As IExtraSource
public interface IExtraSource : IBinarySource, 
    ISizeItem
public interface class IExtraSource : IBinarySource, 
    ISizeItem
type IExtraSource =  
    interface
        interface IBinarySource
        interface ISizeItem
    end
public interface IExtraSource extends IBinarySource, ISizeItem

Тип IExtraSource обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство FileName Gets the name of the file.
Открытое свойство Size Gets the size, in kilobytes, of the item implementing the ISizeItem interface. (Производный от ISizeItem.)
Открытое свойство Tags Gets the collection of tags associated with the extra source file.

В начало

Методы

  Имя Описание
Открытый метод GetContentReader Gets the I/O file stream. (Производный от IBinarySource.)
Открытый метод GetContents Gets the contents of the file stream in a byte array. (Производный от 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.