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.