Compartilhar via


IExtraSource Interface

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

'Declaração
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

The IExtraSource type exposes the following members.

Properties

  Name Description
Public property FileName Gets the name of the file.
Public property Size Gets the size, in kilobytes, of the item implementing the ISizeItem interface. (Inherited from ISizeItem.)
Public property Tags Gets the collection of tags associated with the extra source file.

Top

Methods

  Name Description
Public method GetContentReader Gets the I/O file stream. (Inherited from IBinarySource.)
Public method GetContents Gets the contents of the file stream in a byte array. (Inherited from IBinarySource.)

Top

Remarks

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.

See Also

Reference

Microsoft.SqlServer.Management.Dac Namespace