Condividi tramite


Classe BinarySourceBase

The BinarySourceBase type is a base class that provides access to the IBinarySource interface.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..BinarySourceBase
    Microsoft.SqlServer.Management.Dac. . :: . .FileExtraSource

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

'Dichiarazione
Public MustInherit Class BinarySourceBase _
    Implements IBinarySource
'Utilizzo
Dim instance As BinarySourceBase
public abstract class BinarySourceBase : IBinarySource
public ref class BinarySourceBase abstract : IBinarySource
[<AbstractClassAttribute>]
type BinarySourceBase =  
    class
        interface IBinarySource
    end
public abstract class BinarySourceBase implements IBinarySource

Nel tipo BinarySourceBase sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo protetto BinarySourceBase Initializes an object of the BinarySourceBase class.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetContentReader Gets the I/O file stream.
Metodo pubblico GetContents Gets the contents of the file stream in a byte array.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Osservazioni

Using the BinarySourceBase object, you can:

  • Get the I/O file stream.

  • Get the contents of the file in a byte array.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.