Freigeben über


IExtraSource-Schnittstelle

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)

Syntax

'Declaration
Public Interface IExtraSource _
    Inherits IBinarySource, ISizeItem
'Usage
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

Der IExtraSource-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft FileName Gets the name of the file.
Öffentliche Eigenschaft Size Gets the size, in kilobytes, of the item implementing the ISizeItem interface. (Geerbt von ISizeItem.)
Öffentliche Eigenschaft Tags Gets the collection of tags associated with the extra source file.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode GetContentReader Gets the I/O file stream. (Geerbt von IBinarySource.)
Öffentliche Methode GetContents Gets the contents of the file stream in a byte array. (Geerbt von IBinarySource.)

Zum Anfang

Hinweise

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.