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.