Interfaz IExtraSource
The IExtraSource type is an interface that provides I/O stream access to a miscellaneous file in the DAC package.
Espacio de nombres: Microsoft.SqlServer.Management.Dac
Ensamblado: Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Sintaxis
'Declaración
Public Interface IExtraSource _
Inherits IBinarySource, ISizeItem
'Uso
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
El tipo IExtraSource expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
FileName | Gets the name of the file. | |
Size | Gets the size, in kilobytes, of the item implementing the ISizeItem interface. (Se hereda de ISizeItem.) | |
Tags | Gets the collection of tags associated with the extra source file. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
GetContentReader | Gets the I/O file stream. (Se hereda de IBinarySource.) | |
GetContents | Gets the contents of the file stream in a byte array. (Se hereda de IBinarySource.) |
Arriba
Comentarios
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.